ce-agent-native-architecture

Map UI actions to atomic tools with explicit completion signals.

2|Updated May 8, 2026
One-click install
npx skills add https://github.com/xotong/claude-marketplace --skill ce-agent-native-architecture-xotong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ce-agent-native-architecture
Source: https://github.com/xotong/claude-marketplace/tree/main/plugins/compound-engineering/skills/ce-agent-native-architecture
Command: npx skills add https://github.com/xotong/claude-marketplace --skill ce-agent-native-architecture-xotong

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Build architectures where agents are treated as first-class citizens, enabling iterative loops of atomic tools and prompts to achieve outcomes while preserving parity with UI actions.

Core Features & Use Cases

  • Atomic primitives: tools are small, composable actions (read_file, write_file, list_files, etc.).
  • Prompt-driven features: outcomes are defined in prompts rather than hard-coded workflows.
  • Dynamic capabilities and context: supports discovery of capabilities and injection of live app state into prompts.
  • Explicit completion signals: agents declare when tasks are complete rather than rely on heuristics.
  • Shared workspace parity: UI and agent operate in the same data space, ensuring transparency.

Quick Start

Define a tiny example: create a single read_file tool, a write_file tool, and a simple system prompt, then run the agent loop to complete a basic task.

Frequently Asked Questions about ce-agent-native-architecture

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is agent-native architecture and how does it make agents first-class citizens?

Agent-native architecture treats agents as first-class citizens by mapping UI actions to atomic tools with explicit completion signals. It enables iterative loops of small composable tools and prompts to achieve outcomes while preserving parity with UI actions.

How do I map UI actions to atomic tools for an agent workflow?

Map UI actions to atomic tools by creating small, composable primitives like read_file and write_file. Define outcomes in prompts rather than hard-coded workflows, and use explicit completion signals so agents declare when tasks are complete.

How does dynamic capability discovery work with context injection in agent-native apps?

Dynamic capability discovery allows agents to identify available actions at runtime, while context injection feeds live app state into prompts. This ensures agents operate with current data while maintaining shared workspace parity between UI and agent operations.

What is the best way to ensure parity across tools, prompts, and UI in agent-driven applications?

Ensure parity by making the UI and agent operate in the same shared data space. Both should use identical atomic primitives and explicit completion signals, guaranteeing transparency and preventing data drift between manual and agent-driven workflows.

How do I test an agent-native architecture end-to-end?

Test agent-native architecture by validating tool definitions, running agent loops with simple system prompts, and verifying explicit completion signals. Use example tool definitions to demonstrate the end-to-end workflow and confirm shared workspace parity.

When should I not use a prompt-driven agent architecture?

Avoid prompt-driven agent architecture when workflows require strict deterministic execution rather than iterative loops. If your application cannot support dynamic capability discovery or shared workspace parity, hard-coded workflows may be more reliable.