Skip to content

v1.24.0

Choose a tag to compare

@phuryn phuryn released this 26 Nov 12:42
· 16 commits to main since this release

One embedded-agents skill instead of four

The four embedded-agents skills are now one skill, embedded-agents, in app-stack. Its SKILL.md holds the design guidance: the agent card, actions and identity, the confirm card, and wiring the app. It ends by choosing the runtime. The agent then reads that runtime's reference before writing any code.

Was Now
embedded-agents-design embedded-agents, its SKILL.md; the design templates are in templates/
embedded-agents-messages-api references/messages-api.md and references/messages-api-playbook.md; code in templates/messages-api/ and examples/messages-api/
embedded-agents-agent-sdk references/agent-sdk.md and references/agent-sdk-playbook.md; code in templates/agent-sdk/ and examples/agent-sdk/
embedded-agents-managed references/managed.md and references/managed-playbook.md; code in templates/managed/

The scripts are in embedded-agents/scripts/:

  • new-agent.mjs, one copy where there were three;
  • setup-managed.mjs;
  • discover-mcp-tools-messages-api.mjs and discover-mcp-tools-agent-sdk.mjs, renamed from the two discover-mcp-tools.mjs files.

The rules moved word for word; only the pointers between files changed. The code moved byte for byte, except for comments that named the old skills and one Managed Agents error message.

Before After
Skills (loading on their own) 41 (37) 38 (34)
Their descriptions, always in context 5,914 characters 5,530 characters
What the listing costs a turn in Claude Code 2,537 tokens 2,346 tokens

The token cost is measured, not estimated. The same short prompt ran headless in Claude Code with and without the packs, and each figure is the lower of two runs.

Loading tests. Headless tests checked that nothing stopped loading: 10 prompts, each asking for one of the four old skills' jobs.

  • Before: Claude Code and Codex both loaded the right old skill for all 10.
  • After: both loaded embedded-agents for all 10.
  • References: eight of the prompts need a runtime's reference. Codex opened the right one in all 8 and Claude Code in 6. In the other two, Claude Code drafted the agent card and asked about the missing app before choosing a runtime, which is what the skill asks for: the test app has no agents to extend.

One new rule for Managed Agents. Keep your own copy of each conversation as the person saw it, with its session id. Anthropic's copy is the agent's working state, not your record.

  • Deletion and the privacy page now cover both copies.
  • The template's chat still reloads Anthropic's transcript after a broken stream and on page load. So rows and links your app drew are not redrawn after a refresh, as before.

What to do:

  • Installed as packs: update as usual. In Claude Code, use /plugin → Marketplaces → Update marketplace. In Codex, run codex plugin marketplace upgrade product-engineering, then start a new session.
  • Copied by hand or installed with npx skills: delete the four old folders. An update doesn't remove them, and a stale copy keeps loading beside its new home.
  • Your own instructions or scripts name an old skill or a script path, such as embedded-agents-managed/scripts/setup-managed.mjs: point them at the new home in the table.
  • Your app already copied a wrapper: nothing changes in its code. On Managed Agents, the session marker is still app: 'embedded-agents-managed', so existing conversations are still found and deleted.

Reviewed in rounds 205 to 207.