rea-ci-tests-audit
MOmorluto/rea486k8,943 new stars in the last 7 days
Load this skill first when setting up Octocode: install the CLI or bundled skills, connect an MCP client, sign in to GitHub and verify with a real call.
Identify the client, project and requested setup; ask when the client is unknown. Run only needed sections (CLI: terminal and GitHub login; MCP: tools inside a client). Full setup order: CLI, GitHub sign-in, MCP client, so the client's restart picks up the login; done when MCP step 3 returns the README line and auth status --json shows verified.
One package, octocode-mcp, is both the CLI (octocode-mcp <command>) and the MCP server (an MCP client runs it bare). The npm package needs Node.js 24.15 or later; the standalone native binary needs none, but an MCP entry from install still does (MCP step 2). From a project with a README, run:
npx -y octocode-mcp --version
npx -y octocode-mcp localFetch '{"queries":[{"path":"README.md","ranges":[{"startLine":1,"endLine":1}]}]}'
The reply should hold the README’s first line; local reads work before sign-in. For a global CLI, npm install -g octocode-mcp, then drop npx -y. CLI guide
Code search and private repositories need a login. On the machine running Octocode, start it from an interactive terminal.
npx -y octocode-mcp auth login
npx -y octocode-mcp auth status --json
The user follows the sign-in steps. Check for verification: "verified" and the expected hostname and username; a device login reports tokenSource: "octocode-storage", which MCP shares when it uses the same Octocode home and GitHub host; a running MCP client sees a new login only after a restart. CI tokens, GitHub CLI accounts or Enterprise: credential selection.
npx -y octocode-mcp install --list shows each client ID and whether its Octocode entry exists (a plugin may supply it); check an existing one with npx -y octocode-mcp install --ide <client-id> --check.npx -y octocode-mcp install --ide <client-id> --enable-local true (--scope workspace for a project entry where supported; --dry-run previews). The entry starts the server through npx (--method bunx or pnpm instead), so the client needs Node.js 24.15 or later with that runner on its PATH; --check does not test that. Without Node, write the native entry by hand: "command": "octocode-mcp" with no args (stdio configuration); --check accepts it and warns when octocode-mcp is not on PATH. --enable-local true lists the tools that search and read code on this machine; without it the server lists the GitHub and package tools only. --preset full|local|github picks a whole tool set instead and overrides the other tool settings. For a client with no ID, use the stdio configuration.localFetch and return the CLI’s line. On failure, do not reinstall: no Octocode tools → rerun --check; GitHub tools but no localFetch → the entry lacks OCTOCODE_ENABLE_LOCAL=true or sets OCTOCODE_TOOLS_PRESET=github (rerun step 2 with --force, or with --preset full); then the client’s MCP log names the start error; a different line or missing file → set the server’s working directory or WORKSPACE_ROOT (stdio configuration), restart, ask again.| Need | Action | Check |
|---|---|---|
| Choose a tool | First tool calls | npx -y octocode-mcp schema or the client’s tool list |
| Change settings or enable tools | Precedence, optional tools; restart MCP after | npx -y octocode-mcp config list |
| Add a provider key | Key setup; the user enters the secret on stdin | npx -y octocode-mcp config check <KEY> (exit 0 when set) |
| Install a bundled skill | npx -y octocode-mcp skill list, then npx -y octocode-mcp skill install <name> --platform <platform> --project-dir . (or --global) | npx -y octocode-mcp skill check <name> |
Report the interface, project and passing checks, or the failing command or tool, its error and the setup part it affects. Omit tokens and device codes.
MOmorluto/rea486k8,943 new stars in the last 7 days
MOmorluto/rea486k8,943 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
Block dangerous git commands like push and reset --hard before they execute.
MAmattpocock/skills337k4,978 new stars in the last 7 days