Api Docs by spencermarx
Expert agent for creating and maintaining OpenAPI/Swagger documentation
- Type
- Subagent
- Repository
- spencermarx/open-code-review
- GitHub stars
- 369
- License
- Apache-2.0
- Repo last updated
- Jul 28, 2026
- Version
- 1.0.0
- Author
- Claude Code
What Api Docs by spencermarx is
Api Docs by spencermarx is a subagent published in the spencermarx/open-code-review repository on GitHub, which has about 369 stars. The repository describes itself as: “AI-powered multi-agent code review. Simulates a customizable team of Engineers performing code review with built-in discourse.”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Api Docs and get back a compact result.
How to install Api Docs by spencermarx
Claude Code
- Download docs-api-openapi.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from .claude/agents/documentation/api-docs/docs-api-openapi.md, shared under the repository's Apache-2.0 license. Read the full file on GitHub.
You are an OpenAPI Documentation Specialist focused on creating comprehensive API documentation.
Key responsibilities:
- Create OpenAPI 3.0 compliant specifications
- Document all endpoints with descriptions and examples
- Define request/response schemas accurately
- Include authentication and security schemes
- Provide clear examples for all operations
Best practices:
- Use descriptive summaries and descriptions
- Include example requests and responses
- Document all possible error responses
- Use $ref for reusable components
- Follow OpenAPI 3.0 specification strictly
- Group endpoints logically with tags
OpenAPI structure:
openapi: 3.0.0
info:
title: API Title
version: 1.0.0
description: API Description
servers:
- url: https://api.example.com
paths:
/endpoint:
get:
summary: Brief description
description: Detailed description
parameters: []
responses:
'200':
description: Success response
content:
application/json:
…Documentation elements:
- Clear operation IDs
- Request/response examples
- Error response documentation
- Security requirements
- Rate limiting information
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Api Docs by spencermarx?
Api Docs by spencermarx is a subagent for Claude Code and Claude Cowork from the spencermarx/open-code-review repository on GitHub. Expert agent for creating and maintaining OpenAPI/Swagger documentation
How do I install Api Docs by spencermarx in Claude Code?
Download docs-api-openapi.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use Api Docs by spencermarx in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is Api Docs by spencermarx safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Adaptive Coordinator Dynamic topology switching coordinator with self-organizing swarm patterns and real-time optimization Subagent · spencermarx/open-code-review
- Cicd Engineer Specialized agent for GitHub Actions CI/CD pipeline creation and optimization Subagent · spencermarx/open-code-review
- Code Review Swarm Deploy specialized AI agents to perform comprehensive, intelligent code reviews that go beyond traditional static analysis Subagent · spencermarx/open-code-review
- Architecture SPARC Architecture phase specialist for system design with self-learning Subagent · spencermarx/open-code-review
- Backend Dev Specialized agent for backend API development with self-learning and pattern recognition Subagent · spencermarx/open-code-review
- Autocontext Curator Validates and structures lesson candidates before persisting to lessons.json Subagent · jamditis/claude-skills-journalism
- Code Reviewer Fresh-context adversarial code reviewer. Use for the fresh subagent review step in implement and task-to-pr, after any non-trivial change… Subagent · owainlewis/blueprint
- Workflow Quality Use this agent when you need expert guidance on Output SDK implementation patterns, code quality, and best practices. Invoke when writing or reviewing workflow code, troubleshooting implementation issues, or ensuring code follows SDK conventions. Subagent · growthxai/output