agentstacktech/claude-plugin/agentstack-agents-ai
Claude Code and agent skill by agentstacktech/claude-plugin
- community
Checking that the SKILL.md file is still in the repository.
Use when the user mentions Agents Fleet, agent templates, agent runs, promotion gates, traces, AI Builder, UAM manifests, generation, media creation, or app composition. Routes to agents.*, ai_builder.*, generation.*, and media actions.
Install
npx vskill@latest install agentstacktech/claude-plugin/agentstack-agents-aiSKILL.md
The same SKILL.md was published earlier as agentstacktech/claude-plugin/agentstack-agents-ai.
AgentStack Agents + AI Builder
Use this skill for autonomous agents and generated application surfaces. Keep the flow decision-first: discover available actions, preview when possible, then run the smallest mutation.
Decision matrix
| User says | MCP action family | |
|---|---|---|
| "create an agent" / "agent template" | agents.templates_list, agents.template_preview, agents.create_from_template, agents.create | |
| "run this agent" / "stop it" | agents.run, agents.stop, agents.traces | |
| "project plan" / "goals tree" / "task list" | agents.plan_get, agents.work_next, agents.plan_patch, agents.plan_refresh_affinities, agents.plan_claim, agents.plan_execute, agents.ensure_agent, agents.orchestrate — MCP prompt agentstack_plan_graph; closed loop § below; flow UF_PLAN_GRAPH_ROUTINE |
MCP batch hygiene
- Backticks = catalog ids only — use `
domain.actionforagentstack.executesteps. Response/envelope fields (e.g.packet.next_action,options.goal) are not actions — cite as plain text orfield:packet.next_action` without implying a callable MCP id. - One `context.project_id` per execute — mismatch →
workflow_scope_leak; useauth.switch_projectbetween tenants (CLI:mcp-executewarns by default). - `discovery.describe` requires
action=<canonical id>— not route strings; nobots.bus.claim(useagents.plan_claim+bots.bus.ack). - Goal-anchored batches:
options.execution_intent=directfor spine reads (auth.get_profile) to avoidorchestration_step_violation.
Plan graph quick rules
- Merge by stable node
id; useif_match_revisionon conflict. skill_ids/meta.gene_tags= pinned;meta.suggested_*= hints (refresh without LLM).- Runtime skills still come from playbook +
resolve_run_skills— suggestions are not exclusive. - Tenant prod:
UF_PLAN_GRAPH_ROUTINE(sandbox → diffecosystem.orchestrator.task_list→ promote).
| "promote / gates / rollout" | agents.gates, agents.promote, agents.rollout_advance | |
|---|---|---|
| "compose an app" / "validate UAM" | ai_builder.manifest.get, ai_builder.manifest.validate, ai_builder.compose.preview | |
"create react app" / "app studio blueprint" / PT criar aplicativo react | mcp_app_studio_create_v1 → ai_builder.compose.apply | |
"edit react source" / "patch component" / PT editar código fonte | mcp_app_studio_edit_v1 → ai_builder.source.get (view=skeleton or symbol on recovery) → ai_builder.source.patch (replacements or symbol_name+symbol_body) | |
"build the game" / "compile" / "put code and ship" / PT compilar aplicativo | AI Builder is off. Prompt agentstack_hosting_git_journal: push agentstack HEAD:dev, poll hosting.site.build_status, prod hosting.git.promote_branch ref=dev target=prod | |
| "publish the game" / "to prod" | Same journal. git push agentstack HEAD:main or hosting.git.promote_branch. Not ai_builder.publish and not generation.promote | |
| "generate image/media/content" | generation.* or media.* from the live capability catalog | |
| "Free.ai" / platform_supply / connect API key / llm_free_calls | ai.providers.list → ai.providers.connect → ai.providers.probe → energy.get_balance → agents.run; recipe mcp_ai_providers_connect |
App Studio agent loop (gene: core.app_studio.pipeline.gen1)
AI Builder compile is off. To put game code, build, and open prod, use the hosting journal above. This loop does not publish /s/{pid}/{bucket}/.
- Phase recipes only —
mcp_app_studio_v1is a template (executable: false). - Page UI →
src/routes/Route0.tsx@slot:page…@endslot; keepApp.tsxthin. - Protected (never patch):
vite.config.ts,package.json,index.html,src/main.tsx,src/styles/app.css. - On
ai_builder.build.statusfailed:error_codesyntax_errorordependency_error+errors[{file,line,message}]→ai_builder.source.getthat file →ai_builder.source.patchonce →ai_builder.build.enqueue. Browserslist/caniuse warnings are not failures. digest_mismatch→ re-readsha256fromai_builder.source.getbefore patch.- Prompt:
agentstack_app_studio.
Rules
- First call discovery (
GET /mcp/actionsorGET /mcp/actions+agentstack.execute) if an exact action name is uncertain. - Prefer preview actions before persistence:
agents.template_preview,ai_builder.compose.preview. - For destructive lifecycle changes (
agents.delete,agents.kill), ask for confirmation and surface the trace id. - Do not invent agent metrics or run status. Use
agents.metricsandagents.traces. agents.runwithwait=trueis heavy_llm (same 60s sync-batch rule asbots.simulate,knowledge.playground) — one per syncagentstack.execute. Do not wait on several runs in one batch; preferoptions.async=truethen polldiscovery.job_statusoragents.run_get(seeasync_executeondiscovery.listrows).
Example
Inverse orchestration (bounded MCP steps)
Reuse the same workflow_run_id for every step in one session. Honor allowed_actions from the instruction packet; on violation read orchestration_step_violation and resume — do not mint a new run id per retry.
Work graph plane chooser
<!-- BEGIN:AUTOGEN-PLANE-CHOOSER-AGENTS-AI --> Plan graph: agents.plan_get with project_id. Next leaf: agents.work_next — read dependency_ready vs execution_ready separately. dependency_ready=false means wait on deps; execution_ready=false with dependency_ready=true means fleet/provision. Draft changes: agents.plan_propose then agents.plan_apply_proposal (same env_uuid). Claim: agents.plan_claim with if_match_revision from plan_get. Blocked with templates: agents.ensure_agent (preferred) then agents.create_from_template — not a second custom resolver.
Discovery rank: Team-create goals (agents.team.create): discovery rank demotes integrations. — prefer agents.team.create / agents.orchestrate / agents.plan_ over integrations.oauth_begin. <!-- END:AUTOGEN-PLANE-CHOOSER-AGENTS-AI -->
Closed-loop harness v2
<!-- BEGIN:AUTOGEN-CLOSED-LOOP-AGENTS-AI --> Multi-step project goals: prompt agentstack_closed_loop_autonomy · genes core.agents.work_graph.gen1 · core.mcp.instruction_plane.gen1 · repo.ops.closed_loop.harness.gen1.
Durable work: Durable work (more than one read) enters the Work Graph: agents.plan_propose (create_plan or decompose_node), agents.plan_apply_proposal when validation.safe_to_auto_apply, then agents.work_next following next_action until state=idle, blocked, or recoverable. A single domain call (one CRM write, one file upload, discovery.search, auth.get_profile) stays a direct MCP action. Do not mark a node complete from prose — attach meta.verify_after_write_action evidence. Idle with an empty graph is valid.
Compass playbook (before ladder): guidance.list → confirm work-graph-agent-loop in catalog → guidance.match_playbook (closed-loop goal_text) → guidance.start_path with catalog_entry.id from match.
Execution spine: agents.plan_get → `agents.work_next` → `agents.ensure_agent` (when provision_required + fully_provisionable) → `agents.plan_claim` → `agents.plan_execute`. Decompose on the same env_uuid: agents.plan_propose → agents.plan_apply_proposal.
- `agents.work_next` — read
dependency_ready(structural) vsexecution_ready(fleet) separately;dependency_ready=false→ wait on deps;execution_ready=falsewith deps ok → provision before claim.
- Transport vs domain: batch
partial_successor stepresult_kindwork_graph_blocked/work_graph_waiting→ not executable; verifyaction_readiness.can_claimbefore claim/execute (SDKparseWorkNextFromMcpExecute,batchEnvelopeHasWorkGraphBlock).
- Blocked →
blocked_work[].blocked_reason+recovery.next_actions/ packetnext_actions— canonical (WG_BLOCKED_REASON; not legacymissing_roles). - `agents.ensure_agent` — preview
template_idmust matchwork_nexttopcompatible_templates[0](H5 /resolver_parity_v1); saga H7:create=falsethencreate=true; rollback oncreated_agent_not_eligible. - `agents.plan_claim` (CAS
if_match_revision; mismatch →work_next handoff=true) → `agents.plan_execute` — claim before execute (WG_CLAIM_BEFORE_EXECUTE). - Plan-only decompose:
agents.plan_proposewithvalidation_mode=persist_unexecutablewhen fleet gaps expected (H8 backlog = planner plane; H9 facet_repair; H10 skipplanning_artifact). - Dev gate: closed-loop harness
doctor --full(generepo.ops.closed_loop.harness.gen1) ·npm run audit:closed-loop-harness.
Harness invariants (H6–H10):
- H6 required_capabilities are mandatory — capability_mismatch blocks claim; route agents.ensure_agent create=false (H5) then create=true, or plan_propose mode=repair_plan; not handoff (capability_hard_gate_v1).
- H7 Commit-last provision: work_next blocked → ensure_agent create=false (H5 template_id) → create=true provisions with bind_node=False → eligibility gate → rollback on created_agent_not_eligible → next_action agents.plan_claim (bind+lease, if_match_revision); idempotent_replay when bound eligible agent exists.
- H8 Backlog scan uses planner eligibility (decomposition_status=needed) — not execution_ready; validation_ok reflects plan_valid (structural+semantic), not fleet gaps.
- H9 plan_propose runs ensure_proposal_facet_coverage (facet_repair, max 2 passes) after enrich for create_plan and decompose_node (including from_draft_tree meta under create_plan) — do not hand-patch semantic facet children; for facet gaps after other modes use mode=repair_plan.
- H10 meta.planning_artifact nodes are evidence-only (resolution=non_executable_artifact) — attach evidence on parent; plan_process_backlog and claim skip them for execution.
- H11 node.agent_id binding ≠ active claim lease — already_claimed requires status=in_progress with non-expired lease meta; bound agent on ready/pending is not already_claimed; retry ensure_agent idempotent_replay or plan_claim with if_match_revision.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/agentstack-agents-ai/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/agentstacktech/claude-plugin/agentstack-agents-ai)