Reference
MCP tools
All 25 remote codexguild_* tools with their arguments, plus the local-only tools of the stdio server.
Every tool call counts as one API call; calls with invalid arguments are rejected before metering; some tools also count against their own metric: freshness, sync (full refresh) and advise → freshness calls; kb_vote → votes; skill_install → skill installs. codexguild_usage is free. Read-only tools are annotated readOnlyHint so clients can auto-approve them.
Session & setup
| Tool | Arguments | Returns |
|---|---|---|
codexguild_sync | stack?: {name, version?, ecosystem?, runtime?}[] (exact lockfile versions), installedSkills?: string[], since?: date, force?: boolean, project?: string, repo?: string (git remote — returns the repository's project notes) | when a refresh is due (owner setting) or force (last 30 days): changes for the stack, vulnerabilities in installed versions (ranges reported separately as unconfirmed), skill security, advisories, KB, recommendations; otherwise "up to date" + urgent items only. Each project keeps its own window |
codexguild_advise | harness, stack?, installedSkills?, existingInstructionFiles?, project? | setup proposals (approval required) |
codexguild_usage | — | plan, today's usage per metric, reset time · free |
Freshness & knowledge
| Tool | Arguments | Returns |
|---|---|---|
codexguild_freshness | topic, since, version? | dated releases with breaking flags |
codexguild_deprecations | topic, since?, q? | deprecated / removed APIs from release notes, with the replacement when named |
codexguild_upgrade_plan | package, from, to?, ecosystem? | before upgrading a dependency: releases in between, possibly breaking ones, removed and deprecated APIs with replacements, verified guides, ordered steps · counts as a freshness call |
codexguild_models | q? | model prices per 1M tokens, context, retirement dates; Terminal-Bench 2.0 and SWE-bench Verified results (dated) |
codexguild_debug | error, stack?, packages?: {name, version?, ecosystem?}[] | stuck on an error: verified KB entries and deprecated/removed APIs for your versions, and how many other accounts hit it (guide) |
codexguild_check_packages | packages: {name, ecosystem: npm|pypi|go|cargo, version?}[] (≤25) | before installing: exists? malicious? vulnerable version? brand new / barely used? typosquat-like name? → ok / warn / block / unknown (guide) |
codexguild_mcp_servers_search | q?, category? (e.g. databases, browser-automation, dev-tools, cloud-devops), security? (passed,warn,flagged,unscanned), transport? (remote|package) | MCP servers from the official registry with their review status (guide) |
codexguild_mcp_server_get | slug | how to connect, env vars, findings, package checks, reviewed tool list |
codexguild_kb_search | q?, tag? | verified, dated entries |
codexguild_kb_get | slug | full entry; follow supersededBy |
codexguild_kb_vote | slug, value: 1|-1 | rate an entry you used; the same value again removes the vote (counts as a vote) |
Project notes
| Tool | Arguments | Returns |
|---|---|---|
codexguild_note_save | text (10–500 chars), kind: correction|convention|gotcha|decision, packages?: string[] ("name@version", ≤5), error? (the error it fixes), repo? | saves one lesson for this repository (encrypted); with error and Share fixes on, the redacted fix also helps other agents hitting the same error (shared fixes); refused when it contains credentials or anything the scanner flags. On a team repository it waits for a person's approval (guide) |
codexguild_notes | repo?, q? | every note for the repository, optionally filtered by words |
codexguild_note_retire | id, reason | stops a wrong or outdated note from coming back |
codexguild_sync returns the most useful notes for the repository (repo) every session — pinned first, then the newest, about 1.5k tokens.
Skills
| Tool | Arguments | Returns |
|---|---|---|
codexguild_skills_search | q?, category?, kind?: "skill"|"subagent"|"command"|"hook"|"all" (default skill), security: "passed"|"passed,warn"|"any" (default passed), trending?: boolean (most installed in the last 7 days instead of a search) | skills, Claude Code subagents, slash commands, hooks |
codexguild_skill_get | slug | details, scan findings, reviews, scanned files with sha256 |
codexguild_skill_install | slug | byte-verified install of the scanned files (curl from /.well-known/skills/<slug>/ + shasum -c), name-conflict warning for harness built-ins, scan summary (records the install) |
codexguild_skill_review | slug, rating 1-5, succeeded, notes? | review (calling again updates it) |
codexguild_skill_review_delete | slug | withdraw your review |
Fix tasks
Created by the owner on a project's page in the dashboard (Fix with coding agent) from an analysis. See Projects & teams.
| Tool | Arguments | Returns |
|---|---|---|
codexguild_fix_tasks | — | open fix tasks for this agent (assigned to it, or unassigned and created by its owner) |
codexguild_fix_task_get | task_id | the brief: vulnerable packages with fixed versions and upgrade commands, APIs to migrate, how to submit. Marks the task in progress |
codexguild_fix_submit | task_id, summary, packages: {name, version?, ecosystem?, runtime?}[] (after your changes) | re-analysis of the submitted versions: VERIFIED or NEEDS WORK with what is fixed, still open and newly introduced. Names and versions only — never code |
Local-only (stdio server)
| Tool | Arguments | What it adds |
|---|---|---|
codexguild_scan_skills | paths?, verbose? | offline security scan of every installed skill; nothing leaves your machine |
codexguild_scan_workflows | files? | offline security review of .github/workflows that run coding agents: untrusted triggers with secrets, issue/PR text in prompts or shells, unrestricted tools, permissions (guide) |
codexguild_scan_code | cwd? | APIs deprecated or removed in the versions you run, found in your own code (file:line, replacement). Only package names and versions are sent; the code is searched locally. Runs automatically after codexguild_sync |
codexguild_scan_security | cwd? | vulnerability patterns in your own code, CWE/OWASP-mapped: hardcoded secrets, SQL injection, eval/shell injection, insecure deserialization, weak crypto, SSRF, path traversal, IDOR-prone lookups (file:line, fix, and the matching KB entry — bad/good code per language/framework, sources). Pattern matching, not proof — read a finding before changing code. Everything stays local. Runs automatically after codexguild_sync (from 1.13.0; KB links from 1.14.0) |
codexguild-mcp hook <session-start|pre-write|tool-failure|stop|pre-compact> | hook payload on stdin | Claude Code / OpenClaude hooks: the sync digest and agent notes at session start and after compaction, a warning on writes that introduce a deprecated/removed API or a vulnerability pattern (a removed API also blocks the write), known fixes for failed commands, the done-gate (ran your checks?) and security-gate (ran codexguild_scan_security?) plus the error-note reminder at the end of a turn, summarizer instructions (setup, security-gate from 1.13.0) |
codexguild_readiness | cwd? | how well the repository is set up for an agent, 0–100: instructions, commands, tests, type-check, lockfile, secrets, CI, agent workflows, hooks — with the fixes, biggest first. Also npx @codexguild/mcp readiness (tune-up, from 1.12.0) |
codexguild_coach | cwd?, days?, all? | where this project's recent agent sessions lost time, from the local transcripts: repeated errors, retry loops, refused calls (allowlist suggestions), missed edits, re-reads, compactions, unchecked code, unused MCP servers. Also npx @codexguild/mcp coach (tune-up, from 1.12.0) |
codexguild_lint_instructions | files? | offline lint of the project's instruction files: score, token cost, missing commands, README copy, secrets, prompt injection |
codexguild_sync | cwd? + the remote arguments | auto-detects the stack with exact versions from lockfiles (npm, pnpm, yarn, bun, poetry, uv, Pipfile, Cargo; go.mod), the runtime (.nvmrc, .node-version, .python-version, .tool-versions, engines), the project key and installed skills (plus a local skill scan summary) before calling the remote tool |
codexguild_advise | cwd? + the remote arguments | auto-detects stack, installed skills and instruction files in the project |
codexguild_upgrade_plan | cwd? + the remote arguments | fills from (and the ecosystem) from the lockfile when you only give package |
codexguild_fix_submit | cwd? + the remote arguments | fills packages from the project's manifests and lockfiles, so you only give task_id and summary (from 1.7.0) |
codexguild_note_save, codexguild_notes | cwd? + the remote arguments | fill repo from the repository's git remote (credentials in the URL are dropped first); codexguild_sync sends it too, so notes come back at session start (from 1.8.0) |
Output format
Tools return concise Markdown text designed for a model to read, not raw JSON. Content written by third parties is wrapped in <codexguild-untrusted-content source="…"> tags so the model treats it as data.