Octocode Code Research
bgauryy/octocode
Researches code with evidence: traces callers, imports and cross-repo links, diagnoses failures and reports findings with exact file and line references and a confidence label.
Answers questions about a past agent run from its recording, using causal graphs and replay, instead of reconstructing events from memory.
$ npx skills add iflytek/skillhub --skill orca-replay -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install iflytek/skillhub orca-replay --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/iflytek/skillhub.git skills-src && mkdir -p .claude/skills && cp -r skills-src/builtin-skills/skills/orca-replay .claude/skills/orca-replay && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "orca-replay" agent skill from https://github.com/iflytek/skillhub/tree/main/builtin-skills/skills/orca-replay into .claude/skills/orca-replay/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "orca-replay", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/iflytek/skillhub/tree/main/builtin-skills/skills/orca-replayType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add iflytek/skillhub --skill orca-replay -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install iflytek/skillhub orca-replay --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/iflytek/skillhub.git skills-src && mkdir -p .agents/skills && cp -r skills-src/builtin-skills/skills/orca-replay .agents/skills/orca-replay && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "orca-replay" agent skill from https://github.com/iflytek/skillhub/tree/main/builtin-skills/skills/orca-replay into .agents/skills/orca-replay/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "orca-replay", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add iflytek/skillhub --skill orca-replay -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install iflytek/skillhub orca-replay --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/iflytek/skillhub.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/builtin-skills/skills/orca-replay .cursor/skills/orca-replay && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "orca-replay" agent skill from https://github.com/iflytek/skillhub/tree/main/builtin-skills/skills/orca-replay into .cursor/skills/orca-replay/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "orca-replay", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/iflytek/skillhub.git --path builtin-skills/skills/orca-replay--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add iflytek/skillhub --skill orca-replay -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install iflytek/skillhub orca-replay --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/iflytek/skillhub.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/builtin-skills/skills/orca-replay .gemini/skills/orca-replay && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "orca-replay" agent skill from https://github.com/iflytek/skillhub/tree/main/builtin-skills/skills/orca-replay into .gemini/skills/orca-replay/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "orca-replay", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install iflytek/skillhub orca-replayInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add iflytek/skillhub --skill orca-replay -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/iflytek/skillhub.git skills-src && mkdir -p .github/skills && cp -r skills-src/builtin-skills/skills/orca-replay .github/skills/orca-replay && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "orca-replay" agent skill from https://github.com/iflytek/skillhub/tree/main/builtin-skills/skills/orca-replay into .github/skills/orca-replay/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "orca-replay", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add iflytek/skillhub --skill orca-replay -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install iflytek/skillhub orca-replay --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/iflytek/skillhub.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/builtin-skills/skills/orca-replay .opencode/skills/orca-replay && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "orca-replay" agent skill from https://github.com/iflytek/skillhub/tree/main/builtin-skills/skills/orca-replay into .opencode/skills/orca-replay/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "orca-replay", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
orca-replayAnswers questions about a past agent run from its recording, using causal graphs and replay, instead of reconstructing events from memory.
When a question is about something that already happened, such as why a file was deleted, which step broke the build or whether yesterday's failure reproduces, the agent reads the recorded trace first. It lists runs with orca_list_runs, shows the whole timeline with orca_show_run (model turns, tool calls, shell commands with exit codes and changed files), and uses orca_graph to get the causal chain that produced one event.
Edges in the graph are labeled recorded or inferred, and answers must keep that distinction and name the rule behind any inferred edge. The agent then replays the recording with orca_replay to see what diverges or could not be served, and the skill notes that replay cannot tell whether a fresh run would fail again. Forking a run to try something different is also supported. It needs the orcareplay npm package with its MCP server registered as orca, Node 20 or newer, and a recorded run under .orca/runs.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 753af72. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npxnpmgittscFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npx, npm and git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Requires the `orcareplay` npm package (Node 20+) with its MCP server registered as `orca`, and at least one recorded run in the project's .orca/runs directory.
From compatibility in the SKILL.md frontmatter.
Orca Run Replay loads about 3k tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 1,858 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from iflytek/skillhub at commit 753af72, republished under its Apache-2.0 licence (© iflytek). 1,858 words, ~3,048 tokens.
.claude/skills/orca-replay/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.A recording is evidence. Your memory of a session is not, and neither is a transcript you were handed — both are missing the tool results, the exit codes, and the files that changed without anyone mentioning it.
The rule: when a question is about something that already happened, read the trace before you answer. Do not reconstruct it. If a recording exists, guessing is the wrong move even when the guess would have been right.
orca_list_runs — newest first, and it names the run each fork came from. Skip this only when the
user clearly means the most recent one; every other tool defaults to run: "last".
orca_show_run gives the whole timeline: model turns with token counts and stop reasons, tool
calls with arguments and results, shell commands with exit codes, and every file the run changed.
Good for orientation, long for a specific question.
orca_graph is usually the better tool. It returns causal edges — which event produced which. Pass
to: <event seq> to get only the chain that produced one event. That is the shape of an answer
to "why did this happen", where the full timeline is the shape of an answer to "what happened".
recorded and inferred differentlyEvery edge from orca_graph is labelled:
recorded — the recorder watched it happen and wrote it into the trace.inferred — derived just now from a rule the edge names. The trace does not vouch for it.Carry that distinction into your answer. "The trace shows the rm at step 14 removed it" and "this
looks like the rm at step 14, going by timing" are different claims, and flattening them into one
confident sentence is the specific failure this tool exists to prevent. Name the rule when you lean
on an inferred edge.
orca_replay re-runs the recording and reports what could not be reproduced — divergences, and
requests the recording could not serve.
What "offline" covers, and what it does not. Every model response comes from the trace and the
proxy forwards nothing upstream, so no provider is contacted and no tokens are spent. An unmatched
request halts the replay rather than falling through to the network, unless --loose was asked for.
That covers the model traffic. It does not cover the agent's own subprocesses: unless the recording
used --tls-intercept — in which case replay re-establishes interception for the hosts it recorded
— a curl, npm install, git push or database call inside a recorded shell command goes
straight out. Replay is not a sandbox; only a network-isolated container makes it one.
What a matching replay proves, and what it does not. It shows the recorded decisions reproduce against today's environment. It cannot show the failure is deterministic, because the model is not being asked again — the same recorded responses are served back. If the user wants to know whether a fresh run would fail the same way, say that replay cannot answer it; that needs real runs.
Replay re-executes the agent, not just its model traffic. The recorded model responses are
served from the trace, but the agent process runs again for real — so every shell command it issued
runs again too. worktree: true isolates repository files and nothing else. Anything the run
touched outside the tree — /tmp, Docker, a local database, a package manager, another host — is
mutated a second time.
Hard gate before every replay. Before calling orca_replay, the agent MUST use orca_show_run (or an equivalent trace view) to enumerate the complete shell-command list, including commands that may touch /tmp, Docker, databases, package managers, or remote hosts. It MUST show that list to the user and obtain explicit approval for the exact replay. If any command reaches outside the worktree, approval MUST name those external effects or the replay MUST run inside a genuinely isolated container. worktree: true protects repository files only; it does not authorize external side effects. Do not infer approval from silence, a previous approval, or the fact that the original run was recorded. A run that only read files and edited the repository is free and repeatable, but it still requires this preview-and-confirm gate.
Pass worktree: true. It replays into a scratch copy and leaves the working tree alone.
Without it, replay is destructive for as long as it runs: it restores the recorded filesystem over the working tree and puts the tree back when the replay ends. Uncommitted work is absent in the meantime, and stays absent if the replay is interrupted before it can restore. Run an in-place replay only when the user has been told that and has agreed to it. "They do not appear to be typing" is not consent.
A replay reporting reused=3/5 on an interactive recording is not a partial failure. Harnesses make
calls for themselves — a quota probe, a session-naming request — and a replay does not repeat them.
orca_compare forks one run onto several models from the same checkpoint: same files, same
conversation prefix, so the model is the only variable. Pick the fork point with orca_checkpoints
and pass it as from.
Grade with verify — a shell command whose exit code is the verdict. Use something the repository
already declares ("npm test", "npm run typecheck") or an explicitly local binary
("./node_modules/.bin/tsc --noEmit"), not npx <tool>: with no local install, npx runs whatever
the registry has under that name, and npx tsc resolves a package deprecated in 2016 that is not
TypeScript.
orca_compare uploads the recording to other people's models, and spends real money doing it.
Each model named receives the same files and conversation prefix the original run had — so whatever
that run touched (source, prompts, configuration, anything a credential was pasted into) is sent to
every provider behind those model ids.
And each fork is a live agent, not a replay. From the fork point onward the model is really
being asked, and whatever it decides to do, it does — its shell commands execute for real, and so
does the verify command you pass. Each fork gets its own worktree, so repository files are
isolated per model; nothing outside the tree is. A fork can also take actions the original run never
took, because it is a different model making fresh decisions.
So the approval has three parts, and they are not the same question:
orca scrub is for when the comparison is worth running but the trace is not safe to
send as-is.orca_show_run, and the same answer if it reached
Docker, a database, a deployment or another host: get approval for that specifically, or run the
comparison in an isolated environment.Never run it to satisfy curiosity the user did not express.
Say so plainly rather than falling back to guessing, and offer to start one.
If orca is already installed:
orca record claude # or codex, opencode, openclaw, grokIf it is not installed, stop and ask the user to install it separately. Do not install packages, change global state, or use a package-manager command as part of this Skill.
orca record <agent> runs the agent unmodified behind a local proxy. Nothing about the agent
changes; two environment variables get set. Recording a session now is what makes the next "why did
it do that" answerable.
For a run started with a prompt in argv — orca record claude -- -p "…" — the replay is exact. A
session someone typed into replays approximately, because the prompts were never on the wire and
are recovered from the harness's own transcript; orca replay says which is which rather than
papering over it.
orca export last -o run.html writes one self-contained file. A trace holds whatever the run held,
so run orca scrub before sending one anywhere.
Scrubbing is best-effort, not a guarantee. It matches known key shapes and high-entropy strings; it cannot know that a particular internal hostname, customer name, or unreleased feature is confidential to this user. So scrub, then have the user look at what is actually going out, and get their agreement — do not describe a scrubbed trace as safe on the strength of the scrubber alone.
orca record leave no trace, and
nothing here recovers them. The answer to "why did it do that" in an unrecorded session is
honestly "there is no recording", not a reconstruction.orca record claude -- -p "…") replays byte-for-byte.AskUserQuestion, plan mode) are absent when the same agent runs without one, which can make a
replayed request differ from the recorded one by enough to halt.inferred edges are not evidence. They are derived from a named rule at query time. Treat
them as a reading of the trace, never as something the recorder witnessed.--tls-intercept, and some cannot be reached at all. A recording that came back
empty means the harness was not captured, not that nothing happened.| tool | arguments | notes |
|---|---|---|
orca_list_runs | — | newest first, names the parent of each fork |
orca_show_run | run | the full timeline |
orca_checkpoints | run | where a fork can start |
orca_graph | run, to | causal edges; to narrows to one chain |
orca_replay | run, worktree | offline, free, repeatable |
orca_compare | run, models*, from, verify | spends real tokens |
run accepts a run id or "last", and defaults to "last". Replay traces are skipped when
resolving "last", so it means the newest run you actually recorded.
© iflytek, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files in builtin-skills/skills/orca-replay of iflytek/skillhub.
Open the folder on GitHubat commit 753af72
We found 8 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 4 other GitHub owners. This page covers the copy in iflytek/skillhub, which our catalogue first saw on October 7, 2026.
Orca Run Replay next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Orca Run Replay this skilliflytek/skillhub | 5.2k | 4 repos | ~3k | Automated safety check: Pass | Apache-2.0 | |
| Octocode Code Researchbgauryy/octocode | 949 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Flowstudio Power Automate Debuggithub/awesome-copilot | 40k | 2 repos | ~5k | Automated safety check: Pass | MIT | |
| QA Find Bugs MCPbex-co/beancount-io | 296 | — | ~3k | Automated safety check: Pass | MIT | |
| Graph-Based Bug Tracingtirth8205/code-review-graph | 32k | 1 repos | ~287 | Automated safety check: Pass | MIT | |
| Debugging and Error Recoveryaddyosmani/agent-skills | 103k | 1 repos | ~2.6k | Automated safety check: Pass | MIT |
bgauryy/octocode
Researches code with evidence: traces callers, imports and cross-repo links, diagnoses failures and reports findings with exact file and line references and a confidence label.
github/awesome-copilot
Debug failing Power Automate cloud flows using the FlowStudio MCP server.
bex-co/beancount-io
Hunt bugs in the Beancount.io remote MCP server by driving the real POST /api-gateway/mcp endpoint with JSON-RPC and real MCP clients, checking transport, discovery, credential boundaries, tool and…
tirth8205/code-review-graph
Traces a bug through a code knowledge graph, following callers, callees and execution flow before opening source files, within a small token budget.
addyosmani/agent-skills
Applies a stop-the-line rule and a step-by-step triage when tests fail, builds break or something stops working, aiming at the root cause instead of guesses.
agentic-community/mcp-gateway-registry
Debug issues in the MCP Gateway Registry using first-principles thinking.
iflytek/skillhub
Audits and rewrites formulaic, AI-sounding prose while keeping facts, voice and format, using a local Python scorer and inspect-only, rewrite or embedded-gate modes.
iflytek/skillhub
Access 2,000+ AI models and API tools through one MCP interface for inference, media generation, search, scraping, embeddings, social data, and structured retrieval.
iflytek/skillhub
Drafts a copy-paste-ready LinkedIn post from your facts and ideas, choosing the smallest structure that fits and keeping an accessible plain-text fallback for any styled text.
iflytek/skillhub
Connects an agent to a SkillHub registry and uses the official SkillHub CLI to search, install, list and explicitly upgrade skills from that registry.
iflytek/skillhub
Breaks AI-generated text into checkable claims, verifies them against independent sources and labels each one, with an optional exercise for learners.
iflytek/skillhub
Produces short daily standups, evening reflections and weekly retrospectives for one person or a small team, kept in the session unless you name a place to save.
Works with
Categories
Answers questions about a past agent run from its recording, using causal graphs and replay, instead of reconstructing events from memory. When a question is about something that already happened, such as why a file was deleted, which step broke the build or whether yesterday's failure reproduces, the agent reads the recorded trace first. It lists runs with orca_list_runs, shows the whole timeline with orca_show_run (model turns, tool calls, shell commands with exit codes and changed files), and uses orca_graph to get the causal chain that produced one event.
Orca Run Replay fits situations like: asking why an earlier agent run deleted, moved or overwrote a file; finding which step of a recorded run broke the build; reproducing a failure from a recorded run; checking whether a different model would have handled the run correctly.
Run `npx skills add iflytek/skillhub --skill orca-replay -a claude-code`. Or copy the skill folder (builtin-skills/skills/orca-replay in iflytek/skillhub) into .claude/skills/orca-replay in your project. Claude Code loads it when a task matches its description.
Run `npx skills add iflytek/skillhub --skill orca-replay -a codex`. Or copy the skill folder (builtin-skills/skills/orca-replay in iflytek/skillhub) into .agents/skills/orca-replay in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add iflytek/skillhub --skill orca-replay -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/orca-replay, .gemini/skills/orca-replay, .github/skills/orca-replay and .opencode/skills/orca-replay in your project.
Going by SKILL.md and its folder, Orca Run Replay needs the command-line tools its instructions call (npx, npm, git and tsc). Our summary lists: The orcareplay npm package with its MCP server registered as orca; Node 20 or newer; At least one recorded run in .orca/runs. Compatibility (from SKILL.md): Requires the `orcareplay` npm package (Node 20+) with its MCP server registered as `orca`, and at least one recorded run in the project's .orca/runs directory..
SKILL.md contains no URLs. Its commands use npx, npm and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Orca Run Replay is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Orca Run Replay: Octocode Code Research (bgauryy/octocode, 949 stars), Flowstudio Power Automate Debug (github/awesome-copilot, 40k stars), QA Find Bugs MCP (bex-co/beancount-io, 296 stars) and Graph-Based Bug Tracing (tirth8205/code-review-graph, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
iflytek (a GitHub organization) maintains it in iflytek/skillhub, which has 5,162 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on October 9, 2026.
Source: iflytek/skillhub on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.