Agent skill

Sudocode

by sudocode-ai in sudocode-ai/sudocode

ALWAYS use this skill for ALL sudocode spec and issue operations.

Apache-2.0Auto-check passedAgent Workflows

Install Sudocode

skills CLI
$ npx skills add sudocode-ai/sudocode --skill sudocode -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sudocode-ai/sudocode sudocode --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sudocode-ai/sudocode.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/sudocode .claude/skills/sudocode && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
sudocode
GitHub stars
293
Token cost
~2.3k tokens
SKILL.md length
683 words
Files
1
Skills in repo
1
Repo updated
First seen
Licence
Apache-2.0

At a glance

ALWAYS use this skill for ALL sudocode spec and issue operations.

  • ALL sudocode spec and issue operations
  • SKILL.md covers Core Concepts, Working with the System, Quick Reference and When to Use Hierarchies, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • User mentions spec

What it does

Sudocode is an agent skill from sudocode-ai/sudocode. ALWAYS use this skill for ALL sudocode spec and issue operations. Use when user mentions "spec", "issue", "ready", "blocked", "implement", "feature", "plan", or "feedback" with sudocode specs and issues. PROACTIVELY use at start of implementation tasks to check ready issues and understand work context. Operations include viewing (showspec, showissue, listissues, listspecs), creating/modifying (upsertspec, upsertissue), planning features, breaking down work, creating dependency graphs, and providing implementation…

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows. It works with Model Context Protocol and TypeScript. The repository describes itself as: Lightweight agent orchestration dev tool that lives in your repo. The licence is Apache-2.0.

When your agent uses it

  • ALL sudocode spec and issue operations
  • User mentions spec
  • Feedback with sudocode specs and issues

Example prompts

  • “blocked”
  • “implement”
  • “feature”
  • “/sudocode”

What it can do on your machine

Read from SKILL.md and the folder at commit 632de19. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Sudocode loads about 2.3k tokens when it runs. Until then it costs about 136 tokens; SKILL.md has 683 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~136
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sudocode-ai/sudocode at commit 632de19, republished under its Apache-2.0 licence (© sudocode-ai). 683 words, ~2,309 tokens.

Download SKILL.mdSave it as .claude/skills/sudocode/SKILL.md (or your agent's skills folder).
name
sudocode
description
ALWAYS use this skill for ALL sudocode spec and issue operations. Use when user mentions "spec", "issue", "ready", "blocked", "implement", "feature", "plan", or "feedback" with sudocode specs and issues. PROACTIVELY use at start of implementation tasks to check ready issues and understand work context. Operations include viewing (show_spec, show_issue, list_issues, list_specs), creating/modifying (upsert_spec, upsert_issue), planning features, breaking down work, creating dependency graphs, and providing implementation feedback.

sudocode: Spec & Issue Management

Spec-driven development and issue management system. Work persists across sessions, specs guide implementation, dependency graphs ensure correct execution order, feedback loops close requirements gaps.

Core Concepts

  • Specs: Requirements/design documents (markdown in .sudocode/specs/) - user-initiated, capture intent
  • Issues: Work items with status tracking (markdown in .sudocode/issues/) - agent work, actionable tasks
  • Feedback: Anchored comments on specs documenting what happened during implementation
  • Relationships: Dependency graphs between issues and specs (blocks, implements, parent-child, discovered-from)

Create issues when: Concrete actionable work, can be completed and closed, implements a spec, is a bug/task Create specs when: Documenting user intent and requirements, architecture decisions, API designs, feature specifications

Working with the System

Two Ways to Modify Specs/Issues

Option 1: Direct Markdown Editing (For content-heavy edits)

  • Edit markdown files in .sudocode/specs/ or .sudocode/issues/
  • Frontmatter contains metadata (id, title, status, relationships, tags)
  • Content after frontmatter is the body
  • System syncs bidirectionally
  • Use direct markdown editing when possible to maintain file structure and reduce content churn

Option 2: MCP Tools (Recommended for structured operations)

  • Use upsert_issue, upsert_spec, link, add_feedback tools
  • Automatically syncs to markdown/sqlite/jsonl
  • Validates relationships and IDs

When to use each:

  • MCP tools: Status changes, creating entities, adding relationships, adding feedback
  • Direct editing: Writing detailed content, refactoring descriptions, bulk editing
Obsidian-Style Mentions

Link specs and issues inline using [[ID]] syntax:

markdown
Basic reference:
Implement OAuth per [[s-8h2k]]

With display text:
See [[s-8h2k|authentication spec]] for details

With relationship type:
Must complete [[i-7x9m]]{ blocks } first

Formats supported:
- [[s-14sh]] - basic reference (creates "references" relationship)
- [[i-x7k9]] or [[@i-x7k9]] - with @ prefix
- [[s-3s542|Custom Text]] - with display text
- [[s-x4d6df]]{ blocks } - declares relationship type
- [[s-24gfs3|Text]]{ blocks } - both display and relationship

Relationship types in mentions: blocks, implements, depends-on, discovered-from

Why use inline mentions:

  • Bidirectionally links entities without separate link tool call
  • Colocate with informational context
  • Automatically creates relationships during sync
  • Makes content more readable

Quick Reference

Session Start (Always Do This)
- [ ] Use ready tool to find unblocked work
- [ ] Use list_issues with status=in_progress to see current work
- [ ] Ask user which work to pursue (if not specified)

If you were assigned an issue, work ONLY on implementing the requirements of the issue.

Essential Tools
ready                → Find unblocked work
show_issue/show_spec → Get details with relationships
upsert_issue/spec    → Create/update (status, priority, parent)
link                 → Create relationships (blocks, implements, parent-child)
add_feedback         → Document implementation results on specs
Relationship Types
TypePurposeEffect on ready
implementsIssue → Spec connectionNone (documentation)
blocksExecution orderingBlocked issue not ready until blocker closes
parent-childHierarchical organizationNone (hierarchy only)
discovered-fromProvenance trackingNone (documentation)
Status Flow

Standard flow:

open → in_progress  → closed
  ↓         ↓            ↑
  └─────────┴────────────┘
    blocked (when waiting on dependencies)

When requirements are not fully met or unforeseen issues arise during execution:

in_progress → needs_review → closed

When to Use Hierarchies

Hierarchical specs: Multiple subsystems, multiple layers, natural abstraction levels Hierarchical issues: Epic with subtasks, clear dependencies, progress tracking at different granularity

Pattern: Hierarchical Feature with Dependencies

Example: "Implement authentication system"

Create hierarchy:

s-2a7c: Auth System (parent)
├── s-8h2k: OAuth (child)
├── s-9j3m: Sessions (child)
└── s-4k8p: Permissions (child)

i-5n7q: Implement auth (parent epic, implements s-2a7c)
├── i-7x9m: OAuth flow (child, implements s-8h2k)
├── i-3p6k: Session storage (child, implements s-9j3m)
└── i-8w2n: Permissions (child, implements s-4k8p)

Add execution order:

link: i-7x9m blocks i-3p6k (OAuth before sessions)
link: i-3p6k blocks i-8w2n (sessions before permissions)

Result: ready shows i-7x9m → close it → ready shows i-3p6k → etc.

Dependency Graphs

Use blocks for: Execution ordering (A must finish before B starts) Use parent-child for: Hierarchical organization (tracking progress at multiple levels) Use both: Parent-child for hierarchy + blocks for ordering

Building Dependency Graphs
- [ ] Identify foundation work (must happen first)
- [ ] Identify parallel work (no dependencies)
- [ ] Create all issues first (don't worry about order)
- [ ] Add parent-child for hierarchy
- [ ] Add blocks for execution order
- [ ] Verify no circular dependencies
- [ ] Use ready to verify graph correct

Pattern: Foundation blocks everything else → parallel work in middle → validation at end


Show full SKILL.md (267 more words)Show less

Feedback Loop

Always provide feedback when implementing specs.

When to Provide Feedback
  • Complete implementing an issue that references a spec
  • Discover requirements were unclear/incomplete
  • Encounter implementation challenges not in spec
  • Make design decisions that deviate from spec
  • Have evidence requirements were met (tests, observations)
Feedback Checklist
- [ ] Update issue status
- [ ] Use add_feedback on spec with requirements met, design decisions, challenges, evidence
- [ ] Choose type: comment (informational), suggestion (spec update), request (clarification)
- [ ] Anchor feedback to relevant spec sections
Feedback Pattern Example

Good feedback:

✅ Requirements met: OAuth flow working per spec
📝 Design decisions: Used Redis for tokens (horizontal scaling), added rate limiting
⚠️ Challenges: PKCE needed for mobile (not in spec), token refresh race condition solved with 10s buffer
✅ Evidence: 47 tests passing, 3 OAuth providers tested, security scan clean
💡 Suggestions: Add mobile requirements, document token refresh edge case

Bad feedback: "Implemented the feature. It works."


Status Transitions

closed vs request_review

Close (status=closed) when:

  • All requirements met
  • Tests passing with good coverage
  • Confident in approach
  • No blocking questions

Set needs_review when:

  • Uncertain about approach (multiple valid options)
  • Partial completion (need priority guidance)
  • Quality concerns
  • Spec ambiguities found
  • Trade-offs need approval

Self-check: "Could another developer deploy this to production as-is?"

  • Yes confidently → Close
  • Yes with caveats → Close + flag concerns in feedback
  • Need guidance → Set needs_review + request clarification
  • Incomplete → Set needs_review + explain gaps
Closing Checklist
- [ ] All requirements met
- [ ] Tests passing
- [ ] No blocking questions
- [ ] Implementation sound or uncertainties flagged
- [ ] Evidence provided
- [ ] Feedback on spec documenting what was done

If any item is ✗, set needs_review with feedback explaining gaps/questions


Common Workflows

Spec-driven feature: Create spec → Create issues that implement spec → Add blocks dependencies to establish execution order → Use ready to find next work → Provide feedback on spec when done

Bug discovery: Create issue for discovered work → Link with discovered-from → If blocker: add blocks relationship + set original to blocked

Complex hierarchical feature: Create parent spec + child specs → Create parent issue + child issues → Link issues to specs with implements → Add parent-child + blocks relationships → Use ready to execute in order → Provide feedback on each spec


Integration with TodoWrite

Use TodoWrite for: Session-scoped checklists, immediate execution tracking Use Issues for: Multi-session work, dependencies, spec implementation

Pattern: Start session with ready → Create TodoWrite for immediate tasks → Update issue status as you work → Close issue when complete

© sudocode-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/sudocode of sudocode-ai/sudocode.

Open the folder on GitHubat commit 632de19

Compare with similar skills

Sudocode next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Sudocode compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sudocode this skillsudocode-ai/sudocode293—~2.3kAutomated safety check: PassApache-2.0
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
MCP Server BuildershareAI-lab/learn-claude-code78k4 repos~1.2kAutomated safety check: PassMIT
MCP Server Builder with mcp-usemcp-use/mcp-use11k—~923Automated safety check: PassApache-2.0
Source Driven Developmentshashankswe2020-ux/whoop-mcp1654 repos~2kAutomated safety check: PassMIT
OpenpetsOpenPetsHQ/openpets1.3k—~2.1kAutomated safety check: PassMIT

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 4 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • Builds, modifies, debugs, migrates and verifies TypeScript MCP servers and MCP Apps with the mcp-use framework, treating the installed package's types as the source of truth.

    11k GitHub stars~923 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Source Driven Development

    shashankswe2020-ux/whoop-mcp

    Grounds every implementation decision in official documentation.

    165 GitHub starsUsed in 4 repos~2k tokens
    Agent WorkflowsAuto-check passed
  • Openpets

    OpenPetsHQ/openpets

    A skill your agent uses whenever the user wants to build, extend, debug, test, validate, locally load, package, or publish an OpenPets plugin; work with the OpenPets Plugin SDK v3, plugin manifest…

    1.3k GitHub stars~2.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Chatgpt App Builder

    alpic-ai/skybridge

    Guide developers through creating and updating ChatGPT plugins.

    2.2k GitHub stars~1k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed

Categories

Questions about Sudocode

What does Sudocode do?

ALWAYS use this skill for ALL sudocode spec and issue operations. Sudocode is an agent skill from sudocode-ai/sudocode. ALWAYS use this skill for ALL sudocode spec and issue operations.

When should I use Sudocode?

Sudocode fits situations like: ALL sudocode spec and issue operations; user mentions spec; feedback with sudocode specs and issues.

How do I install Sudocode in Claude Code?

Run `npx skills add sudocode-ai/sudocode --skill sudocode -a claude-code`. Or copy the skill folder (skills/sudocode in sudocode-ai/sudocode) into .claude/skills/sudocode in your project. Claude Code loads it when a task matches its description.

How do I install Sudocode in Codex?

Run `npx skills add sudocode-ai/sudocode --skill sudocode -a codex`. Or copy the skill folder (skills/sudocode in sudocode-ai/sudocode) into .agents/skills/sudocode in your project. Codex loads it when a task matches its description.

Can I use Sudocode in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sudocode-ai/sudocode --skill sudocode -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sudocode, .gemini/skills/sudocode, .github/skills/sudocode and .opencode/skills/sudocode in your project.

What does Sudocode need to run?

SKILL.md names no scripts, command-line tools or credentials: Sudocode is instructions for the agent only.

Does Sudocode access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Sudocode safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Sudocode use?

Sudocode is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Sudocode use?

About 2.3k tokens (SKILL.md is roughly 9.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Sudocode?

Skills that share tags, products or a category with Sudocode: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Server Builder with mcp-use (mcp-use/mcp-use, 11k stars) and Source Driven Development (shashankswe2020-ux/whoop-mcp, 165 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sudocode?

sudocode-ai (a GitHub organization) maintains it in sudocode-ai/sudocode, which has 293 GitHub stars. The repository was last updated on March 18, 2026.

Source: sudocode-ai/sudocode on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.