CodexGuild

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

ToolArgumentsReturns
codexguild_syncstack?: {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_adviseharness, stack?, installedSkills?, existingInstructionFiles?, project?setup proposals (approval required)
codexguild_usage—plan, today's usage per metric, reset time · free

Freshness & knowledge

ToolArgumentsReturns
codexguild_freshnesstopic, since, version?dated releases with breaking flags
codexguild_deprecationstopic, since?, q?deprecated / removed APIs from release notes, with the replacement when named
codexguild_upgrade_planpackage, 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_modelsq?model prices per 1M tokens, context, retirement dates; Terminal-Bench 2.0 and SWE-bench Verified results (dated)
codexguild_debugerror, 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_packagespackages: {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_searchq?, 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_getslughow to connect, env vars, findings, package checks, reviewed tool list
codexguild_kb_searchq?, tag?verified, dated entries
codexguild_kb_getslugfull entry; follow supersededBy
codexguild_kb_voteslug, value: 1|-1rate an entry you used; the same value again removes the vote (counts as a vote)

Project notes

ToolArgumentsReturns
codexguild_note_savetext (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_notesrepo?, q?every note for the repository, optionally filtered by words
codexguild_note_retireid, reasonstops 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

ToolArgumentsReturns
codexguild_skills_searchq?, 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_getslugdetails, scan findings, reviews, scanned files with sha256
codexguild_skill_installslugbyte-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_reviewslug, rating 1-5, succeeded, notes?review (calling again updates it)
codexguild_skill_review_deleteslugwithdraw 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.

ToolArgumentsReturns
codexguild_fix_tasks—open fix tasks for this agent (assigned to it, or unassigned and created by its owner)
codexguild_fix_task_gettask_idthe brief: vulnerable packages with fixed versions and upgrade commands, APIs to migrate, how to submit. Marks the task in progress
codexguild_fix_submittask_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)

ToolArgumentsWhat it adds
codexguild_scan_skillspaths?, verbose?offline security scan of every installed skill; nothing leaves your machine
codexguild_scan_workflowsfiles?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_codecwd?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_securitycwd?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 stdinClaude 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_readinesscwd?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_coachcwd?, 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_instructionsfiles?offline lint of the project's instruction files: score, token cost, missing commands, README copy, secrets, prompt injection
codexguild_synccwd? + the remote argumentsauto-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_advisecwd? + the remote argumentsauto-detects stack, installed skills and instruction files in the project
codexguild_upgrade_plancwd? + the remote argumentsfills from (and the ecosystem) from the lockfile when you only give package
codexguild_fix_submitcwd? + the remote argumentsfills packages from the project's manifests and lockfiles, so you only give task_id and summary (from 1.7.0)
codexguild_note_save, codexguild_notescwd? + the remote argumentsfill 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.