execute

A controlled execution skill for running code, scripts, tests, builds, queries, or other commands and capturing their results.

In plain words
What is it for?
Use it to run tests, build projects, invoke tools, or perform read-only operations that produce output.
Why use it?
It records the output, errors, and exit status needed to verify what a command did.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/synaptiai/agent-capability-standard/execute
Any agent
npx skills add synaptiai/agent-capability-standard --skill execute
Clone the repo
git clone --depth 1 https://github.com/synaptiai/agent-capability-standard

Made for: Claude Code, Codex.

Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,729 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00033 $0.01729
Opus 5 $0.00016 $0.00864
Sonnet 5 $0.00007 $0.00346
Haiku 4.5 $0.00003 $0.00173

Measured 2d ago against content hash 0ad6796f6d03, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

execute scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/execute/SKILL.md · 258 lines

How it starts

The opening of the file, as written. The whole thing — 258 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Intent

Execute code or commands in a controlled manner, capturing output for verification. Unlike mutate, this capability is for operations that don't permanently change state (tests, queries, builds, analysis tools).

Success criteria:

  • Code/command executed successfully
  • Output captured completely
  • Exit code recorded
  • Errors properly surfaced

Compatible schemas:

  • schemas/output_schema.yaml

Inputs

Parameter Required Type Description
code Yes string Code or command to execute
language No string Programming language or shell (bash, python, ruby, etc.)
timeout No string Maximum execution time (default: "60s")
environment No object Environment variables to set

Procedure

  1. Validate execution request: Ensure code is safe to run

    • Check for mutation operations (if found, suggest mutate instead)
    • Verify timeout is reasonable
    • Confirm execution environment
  2. Prepare environment: Set up execution context

    • Set required environment variables
    • Ensure dependencies are available
    • Create isolated context if needed
  3. Execute code: Run the code/command

    • Capture stdout and stderr
    • Record start time
    • Monitor for timeout
  4. Capture results: Collect execution output

    • Record exit code
    • Capture complete stdout
    • Capture complete stderr
    • Note execution duration
  5. Analyze output: Interpret results

    • Identify success/failure from exit code
    • Extract key information from output
    • Note warnings or anomalies
  6. Return results: Structure output for consumption

    • Include all captured data
    • Provide execution summary
    • Reference evidence for assertions

Output Contract

Return a structured object:

result:
  success: boolean  # Exit code == 0
  exit_code: integer  # Process exit code
  stdout: string  # Standard output
  stderr: string  # Standard error
  duration: string  # Execution time
execution:
  command: string  # What was executed
  language: string  # Execution environment
  started_at: string  # ISO timestamp
  completed_at: string  # ISO timestamp
analysis:
  summary: string  # One-line result summary
  warnings: array[string]  # Notable warnings
  errors: array[string]  # Extracted error messages
evidence_anchors: ["command:output"]

Read the full file on GitHub · 258 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 258 lines · 33 tokens per session scan A 0ad6796f6d03

Subscribe to this mod's changes

execute is a skill published in the GitHub repository synaptiai/agent-capability-standard (4 stars, last pushed 2d ago), licensed Apache-2.0. It adds 33 tokens to every session and 1,729 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

write-unit-tests

Writing unit and integration tests for the tldraw SDK. Use when creating new tests, adding test coverage, or fixing failing tests in packages/editor or packages/tldraw. Covers Vitest patterns, TestEditor usage, and test file organization.

aisa-group/skill-inject · 53 tokens

hugging-face-dataset-creator

Create and manage datasets on Hugging Face Hub. Supports initializing repos, defining configs/system prompts, and streaming row updates. Designed to work alongside HF MCP server for comprehensive dataset workflows.

aisa-group/skill-inject · 44 tokens

design-taste

Stops AI from generating boring, generic UI. Use when building new interfaces, reviewing generated UI, or fixing the flat / generic look that AI tools default to. Anti-slop design principles for premium frontends.

KeyArgo/custodian-kernel · 46 tokens

false-green-audit

Hunt for the failure this project exists to prevent — code that compiles, types, tests green, and quietly reports "all clear" about something it never examined. Use when reviewing a release, auditing a subsystem, or before tagging.

guardana/guardana · 53 tokens

scope-discipline

Keep one task closed-looped before starting the next. Triggered when a new problem surfaces mid-task (a bug, a security finding, a missing env var), when you're about to branch into unrelated work, or when you notice the session has sprawled across many half-finished threads. Prevents the "nothing ever lands" failure…

IgorGanapolsky/ThumbGate · 82 tokens

agentfootprint

Use when building AI agents with agentfootprint — LLMCall, Agent, skills, RAG, memory, control flow, Swarm concepts, mock/anthropic/openai/ollama providers, tools, recorders, resilience, and streaming. Also use when someone asks how agentfootprint works or wants to understand the framework.

footprintjs/agentfootprint · 72 tokens