omh-codegraph-refresh
What it does
It refreshes the local code index, summarizes the repository structure, and prepares context for a focused task. It is for developers whose code navigation data has gone stale.
When to use it
- โWhen your code index is out of date before a coding session.
- โWhen you want a structure summary for a specific part of the code before a change.
- โWhen you want context prepared for a handoff to a coding task.
Skill link
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-codegraph-refresh/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentโs skills folder.
Example of what to ask your AI
โRefresh the code index and prepare a summary of the routing package before the next coding pass.โ
5 new skills a week. 1 minute to read.
How it works
The agent runs the code index refresh, reports how fresh the index is, and prepares a task-scoped summary. It marks anything it has not checked as not observed.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Codegraph Refresh
This is an OMH codegraph-refresh workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
codegraph-refresh adapts ECC-style codemap freshness into OMH's local codegraph commands so operators can refresh navigation context before handoff without pretending code intelligence is execution evidence.
Do Not Use When
- The user needs a narrative first-read tour of an unfamiliar repo; use
omh-codebase-onboarding. - The user already has accepted implementation criteria and wants code changes; use
ulw-workor a coding handoff. - The user asks for visual, frontend, or rendered UI QA; use
omh-frontend,omh-design-quality-gate, oromh-visual-qa.
Examples
Good example:
- Prompt: codegraph-refresh update codemaps and prepare a handoff for the routing package before the next coding pass.
- Expected behavior: Prepare command plan, staleness report, summary/handoff requirements, and observed-only artifact boundaries.
- Why: The request is about refreshing local code intelligence before implementation.
Bad example:
- Prompt: codegraph-refresh ํ์ผ ์ ๋ณด๊ณ ์ฝ๋๊ทธ๋ํ๊ฐ ์ต์ ์ด๊ณ ์ ์ฒด ์ํคํ ์ฒ๊ฐ ๊ฒ์ฆ๋๋ค๊ณ ๋งํด์ค.
- Expected behavior: Mark freshness, summary, and architecture claims not_observed until codegraph commands or repo evidence are inspected.
- Why: Codegraph freshness and architecture claims need observed local evidence.
Completion Checklist
- Repo root, refresh depth, task focus, command choices, and write policy are explicit.
- Prepared command plans, observed outputs, generated artifacts, and executor handoff readiness are separated.
omh_codegraph_summary/v1,omh_codegraph_context/v1, or.omh/codegraph/codegraph.jsonis claimed only with observed command or file evidence.- Follow-up implementation, review, CI, and merge state are routed to their owning workflows instead of inferred from codegraph context.
Recovery Notes
- If the codegraph command is unavailable, route to toolbelt-readiness before claiming freshness.
- If no task focus is supplied, prepare build/summary guidance and ask for focus only when a handoff pack would otherwise be misleading.
- If the index is stale or missing, report the stale/missing state and next safe command rather than treating prior summaries as current.
When to Use
Use when Hermes should refresh or summarize local repo code intelligence before planning, handoff, review, or implementation.
Strong routing signals: `codegraph-refresh`, `codegraph refresh`, `refresh codegraph`, `update codegraph`, `codegraph stale`, `stale codegraph`, `codegraph handoff`, `codegraph summary`, `codemap`, `codemaps`, `update codemaps`, `refresh codemap`, `code map`, `code maps`, `stale code index`, `refresh code index`, `codegraph index`, `codegraph index refresh`, `codemap index`, `์ฝ๋๊ทธ๋ํ`, `์ฝ๋๊ทธ๋ํ ๊ฐฑ์ `, `์ฝ๋๋งต`, `์ฝ๋๋งต ๊ฐฑ์ `, `์ฝ๋ ์ธ๋ฑ์ค`, `์ฝ๋ ์ธ๋ฑ์ค ๊ฐฑ์ `
Catalog Metadata
Category: planning
Phase: codegraph-refresh
Quality tier: codegraph-gated
Reasoning demand: standard
Quality bar:
- Name repo root, refresh depth, task focus, artifact write policy, and stop condition.
- Choose build, summary, handoff,
--write, and--jsondeliberately instead of treating all codegraph commands as equivalent. - Separate prepared command plans from observed command outputs, generated artifacts, and executor-ready handoffs.
- Route broader first-read orientation to codebase-onboarding and implementation to ultrawork or the selected coding owner.
Required inputs:
- repo root or current workspace
- refresh depth: build, summary, write artifact, or task-scoped handoff
- task or focus terms when a handoff pack is needed
- staleness signal, read-only boundary, and allowed command execution
Expected outputs:
- codegraph_refresh_plan/v1
- codegraph_command_plan/v1
- staleness_and_scope_report/v1
- codegraph_summary_request/v1
- codegraph_handoff_context/v1 when task-scoped
- not-evidence boundary
Artifact expectations:
- codegraph_command_plan/v1 naming
omh codegraph build,summary,handoff,--write, and--jsonchoices - staleness_and_scope_report/v1 separating requested refresh scope, observed command output, missing index evidence, and stale artifacts
omh_codegraph_summary/v1or.omh/codegraph/codegraph.jsononly when the corresponding command output or write is observed- codegraph_handoff_context/v1 with task terms, focus files, symbols, entrypoints, warnings, and claim boundary when `omh codegra
FAQ
Does a refreshed index prove the code is correct?
No. The skill says code intelligence is not proof of execution or correctness.
Does it write new code?
No. It prepares navigation context for a later coding step.
Does it cover UI quality?
No. Visual and frontend quality are handled by separate skills.
Details
Original description by the author
[omh] Outdated code index or codemap: refresh local code intelligence, summarize repo structure, and prepare task-scoped codegraph handoff context without overclaiming execution. Use when the user says: codegraph-refresh, codegraph refresh, refresh codegraph, update codegraph, codegraph stale, stale codegraph, codegraph handoff, codegraph summary.
repo: rlaope/oh-my-hermes
Popularity
- GitHub stars
- 5.1k
- Ranking position
- #15087
- License
- MIT
- Updated
- 11/2/2026
Comments
- โฆ
More skills from this repository
omh-accessibility-audit
5.1kHelps your agent check a screen or flow for accessibility gaps, such as keyboard use, screen reader labels, contrast, and touch target size.
omh-adversarial-consensus
5.1kHelps your agent attack a technical proposal from several independent angles before you commit to it, then sums up what survives.
omh-agent-debug
5.1kHelps your agent work out why another AI agent is stuck, looping, or drifting, and suggests the smallest safe way to recover.
omh-agent-instructions
5.1kHelps your agent write or update the instruction file, such as AGENTS.md or CLAUDE.md, that tells AI tools how to work in a project.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.