Long-Running Intelligent Agents and Skills of Claude / Two-Agent Framework Practice

Anthropic shares multiple engineering blogs focusing on the skill system of Claude Agent, long-running tasks, and the Two-Agent framework with practical enterprise case studies.
Key insights
Skill System Achieves On-Demand Capabilities and Minimal Permissions Through Prompt Injection
Claude's Skills are not function calls but are injected as system-level instructions in the form of SKILL.md, which includes metadata such as name, description, allowed-tools, and model. The Skill meta-tool scans for skills at runtime and dynamically injects complete Markdown instructions, allowing Claude to temporarily transform into a domain expert during conversations, supporting pre-authorized tools and hot updates, thereby reducing the risk of code execution permissions.
Two-Agent Framework Addresses State Persistence and Handover Issues for Long-Running Tasks
Anthropic proposes the Two-Agent Harness: the Initializer Agent sets up the environment in the first round, generates init.sh, feature_list.json, and claude-progress.txt, and makes the initial Git commit. Subsequently, the Coding Agent performs only one function per round, runs tests, writes clear commits, and updates the progress file. This architecture externalizes memory into files and Git history, maintaining continuity and traceability for multi-session tasks.
End-to-End Verification and Browser Automation Improve Accuracy of Agent Function Validation
To avoid agents declaring completion after only running unit tests, Anthropic integrates browser automation (such as Puppeteer MCP) into the framework for user-level interaction testing, capturing interaction bugs often missed during code reviews. This end-to-end verification significantly increases the pass rate for functionalities, although there are still limitations (such as handling native pop-ups).
Practical Enterprise Implementation Shows Conservative Tool Strategy and Key Points of Prompt Engineering
Spotify's backend programming agent has successfully merged over 1,500 AI-generated PRs, employing conservative tool access (restricted Git, formatting and testing tools, whitelisted Bash) and emphasizing key points of prompt engineering (clear preconditions, making one change at a time, defining verifiable goals). This practice demonstrates that agents can significantly save time but still require strict validation and human review.
Sub Agents and Team Collaboration Support Professional Division of Labor
Anthropic supports the creation of Sub Agents for roles such as frontend, backend, testing, crawling, and documentation, forming team-based collaboration to enhance professionalism and stability across various stages of long tasks.