docs

docs is a command for Claude Code from datathings/marketplace. It costs 12 tokens per session (2,877 once invoked), scanned D, original, Apache-2.0.

A documentation command that creates or updates a project's README, API reference, MCP server documentation, and optional search and SEO files. MCP is a standard way for applications to expose tools and data to AI assistants.

In plain words
What is it for?
Use it after adding endpoints or features, changing models or authentication, upgrading libraries, or adding routes; it is not intended for bug fixes or internal refactors.
Why use it?
It keeps documentation aligned with actual features, endpoints, models, authentication, libraries, and routes instead of leaving it outdated.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents.

Part of the greycat plugin — 1 skill, 8 commands shipped together

Good fit Use it after adding endpoints or features, changing models or authentication, upgrading libraries, or adding routes; it is not intended for bug fixes or internal refactors.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/datathings/marketplace/docs
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.

Clone the repo
git clone --depth 1 https://github.com/datathings/marketplace

Made for: Claude Code.

Or install greycat, the plugin that ships this one along with the rest of its 1 skill, 8 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for docs

README.md
[![agentmods](https://agentmods.dev/badge/commands/datathings/marketplace/docs/github.svg)](https://agentmods.dev/commands/datathings/marketplace/docs)
Your own site
<a href="https://agentmods.dev/commands/datathings/marketplace/docs"><img src="https://agentmods.dev/badge/commands/datathings/marketplace/docs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for docs

Your own site · 80×15
<a href="https://agentmods.dev/commands/datathings/marketplace/docs"><img src="https://agentmods.dev/badge/commands/datathings/marketplace/docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,877 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00012 $0.02877
Opus 5.5 $0.00005 $0.01151
Sonnet 5.5 $0.00002 $0.00575
Haiku 4.5 $0.00001 $0.00288

Measured 3mo ago against content hash 04d9b2f0af71, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade D, and why

docs scanned grade D with 3 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 3mo 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

curl -H "task: true" -X POST -d '[]' http://localhost:8080/<module>::<fn> # returns task_id

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

11. **Database** — dev reset (`rm -rf gcdata && greycat run import`); backup/restore via `greycat backup` / `greycat restore <archive>` (prefer over raw `tar` on a live `gcdata/`)

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

await axios.post('/<module>::<fn>', [param1, param2]);
plugins/greycat/commands/docs.md · 223 lines

How it starts

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

Documentation Generator

Purpose: Generate/update README.md, API.md, MCP.md (+ optional OpenAPI, frontend SEO artifacts). Run after: each sprint, before releases, when adding features/APIs. Regenerate after: new endpoints, model changes, lib upgrades, auth changes, new routes (refresh sitemap.xml/llms.txt). Not for bug fixes, internal refactors, or doc-only changes.

ultrathink + ultracode — read the actual code, never emit boilerplate. README.md (feature scan), API.md (@expose scan), MCP.md (@tag("mcp") scan), and the Phase-5 SEO/llms.txt artifacts are INDEPENDENT deliverables: when parallel subagents / ultracode are available, draft them as PARALLEL subagents (one each), then assemble & write. Otherwise generate sequentially.

Frontend stack (referred to below as the frontend stack): VitePlus (vp) + Lit (shadow DOM) + TypeScript + Web Awesome (or equivalent) + @greycat/web/sdk + lucide-static, pnpm; note i18next / maplibre-gl / Vitest (optional) if present.

Lighthouse (referred to below): audit both mobile (default) and desktop (--preset=desktop), target ≥ 90 per category — via the project's lighthouse script (:desktop / :ci variants) if present, else the lighthouse CLI against the served app (greycat serve/dev first). Optional tooling.


Phase 1: README.md

Detect features

# Frontend: frontend/ directory, or lit / @awesome.me/webawesome / @greycat/web in package.json
# Tests:    test/ directory
# Libs:     @library in project.gcl
# Auth:     @permission / @role in project.gcl
# MCP:      @tag("mcp") in src/
# Data:     data/ directory, *.gguf files
# SEO:      webroot/{robots.txt,sitemap.xml,llms.txt,*.webmanifest}

Extract info

grep "@library" project.gcl                              # versions
grep "@permission\|@role" project.gcl                    # auth
grep -rn "^type [A-Z]" src/ --include="*.gcl"            # models
grep -rnE "^abstract type.*Service|^(static )?fn [a-z_]" src/ --include="*.gcl"  # services (abstract-type OR free fns)
grep -rn "@expose" src/ --include="*.gcl"                # endpoints (@expose may live in src/api.gcl, not only *_api.gcl)

Read the full file on GitHub · 223 lines

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. 3mo ago First seen · 223 lines · 12 tokens per session scan D 04d9b2f0af71

Subscribe to this mod's changes

docs is a command published in the GitHub repository datathings/marketplace (12 stars, last pushed 3d ago), licensed Apache-2.0. It adds 12 tokens to every session and 2,877 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it D with 3 findings (sends data to an external url, recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

docs compared with commands from other repositories

docs next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docsdatathings/marketplaceCommand123d agoApache-2.0D12Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code
analyzegithub/spec-kitCommand153ktodayMITA26Claude Code
convergegithub/spec-kitCommand153ktodayMITA35Claude Code
implementgithub/spec-kitCommand153ktodayMITA14Claude Code