synaptiai/agent-capability-standard/execute
Claude Code and agent skill by synaptiai/agent-capability-standard
- community
Checking that the SKILL.md file is still in the repository.
Run code or scripts deterministically with captured output. Use when running tests, executing build commands, invoking tools, or performing read-only operations that produce results.
Install
npx vskill@latest install synaptiai/agent-capability-standard/executeSKILL.md
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 |
Inputs not listed here are outside the capability's contract: a workflow step that binds them gets W604 (STANDARD v1.1 §5.5).
Procedure
1) Validate execution request: Ensure code is safe to run
- Check for mutation operations (if found, suggest
mutateinstead) - 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:
Field Definitions
| Field | Type | Description | |
|---|---|---|---|
result | any | Execution result: here success and duration | |
result.success | boolean | Whether execution succeeded | |
result.duration | string | How long execution took | |
exit_code | integer | Process exit code | |
stdout | string | Standard output | |
stderr | string | Standard error | |
execution | object | Execution metadata | |
analysis | object | Interpreted results | |
evidence_anchors | array | References to the command and its output |
Examples
Example 1: Run Tests
Input:
Output:
Example 2: Execute Query
Input:
Output:
Example 3: Execution Failure
Input:
Output:
Verification
- [ ] Exit code is captured
- [ ] Stdout and stderr are both recorded
- [ ] Duration is reasonable
- [ ] Analysis summary matches output
- [ ] No mutations occurred
Verification tools: Bash (to verify command execution environment)
Safety Constraints
mutation: falserequires_checkpoint: falserequires_approval: truerisk: medium
Capability-specific rules:
- Verify code does not mutate persistent state
- Enforce timeout limits
- Capture all output for audit trail
- Do not execute code that requires elevated privileges without approval
- Prefer
mutatefor state-changing operations
Composition Patterns
Commonly follows:
plan- Execute planned actionsgenerate- Execute generated codetransform- Execute transformation scripts
Commonly precedes:
verify- Verify execution resultsdetect- Detect patterns in outputaudit- Record execution for audit
Anti-patterns:
- Never use execute for persistent state changes (use
mutate) - Avoid execute without timeout limits
- Never execute untrusted code without sandboxing
Workflow references:
- See
reference/workflow_catalog.yaml#debug_code_changefor execute in testing - See
reference/workflow_catalog.yaml#digital_twin_sync_loopfor execute in sync loops
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/execute/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/synaptiai/agent-capability-standard/execute)