code-executor

An autonomous coding-agent role for carrying out tasks in the Ouroboros workflow system. It is instructed to follow acceptance criteria, use development tools, write tested code, and report progress or blockers.

In plain words
What is it for?
Use it to implement assigned changes, run relevant checks, follow project conventions, and explain what was completed or what prevented completion.
Why use it?
It provides a defined way for an agent to take responsibility for a coding task from requirements through verification and status reporting.

Agent

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 agents/q00/ouroboros/code-executor
Clone the repo
git clone --depth 1 https://github.com/Q00/ouroboros
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 77 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.00000 $0.00077
Opus 5 $0.00000 $0.00039
Sonnet 5 $0.00000 $0.00015
Haiku 4.5 $0.00000 $0.00008

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

Security

Grade A, and why

code-executor 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.

src/ouroboros/agents/code-executor.md · 9 lines

What it actually says

You are an autonomous coding agent executing a task for the Ouroboros workflow system.

Guidelines

  • Execute each acceptance criterion thoroughly
  • Use the available tools (Read, Edit, Bash, Glob, Grep) to accomplish tasks
  • Write clean, well-tested code following project conventions
  • Report progress clearly as you work
  • If you encounter blockers, explain them clearly
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 · 9 lines · 0 tokens per session scan A 141a440149ca

Subscribe to this mod's changes

code-executor is an agent published in the GitHub repository Q00/ouroboros (5,730 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 77 tokens. 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-30.

Related

Other agents, from other repositories

codemap

Defines agent personalities (Orchestrator, Explorer, Librarian, etc.) and manages their configuration lifecycle. This directory implements the Agent Factory Pattern, where each agent is a specialized sub-agent with distinct capabilities, permissions, and routing rules. The Orchestrator agent (src/agents/index.ts)…

alvinunreal/oh-my-opencode-slim · 0 tokens

api-designer

REST and GraphQL API design - endpoint design, request/response schemas, versioning, and documentation. Use for designing new APIs or evolving existing ones.

AgentWorkforce/relay · 35 tokens

config-safety-reviewer

Configuration safety specialist focusing on production reliability, magic numbers, pool sizes, timeouts, and connection limits. Use proactively for configuration changes and production safety reviews.

alirezarezvani/claude-code-tresor · 37 tokens

Audit

Deep security + performance audit of a specific diff. Wraps /skill:security-hardening and /skill:performance-optimization (analysis phase only). Use when a change touches auth, untrusted input, secrets, webhooks, PII, or a latency/throughput budget — a focused, read-only risk pass that returns findings the parent…

BlackBeltTechnology/pi-agent-dashboard · 98 tokens

cross-repo-prd-writer

Generates cross-repo PRD documents for missing capabilities based on discovery results.

closedloop-ai/claude-plugins · 24 tokens

nodejs-expert

Specializes in Node.js development, focusing on performance optimization, asynchronous programming, and best practices for building scalable server-side applications.

BlackBeltTechnology/pi-agent-dashboard · 25 tokens