Omh codegraph refresh

From rlaope/oh-my-hermes · View interactive version

Omh codegraph refresh is an AI agent skill from the GitHub repository rlaope/oh-my-hermes. [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

How to use this skill

Skill file

Codegraph Refresh

This is a Hermes-native codegraph-refresh workflow skill.

Why This Exists

codegraph-refresh exists so the local code index is rebuilt before a handoff and the answer says how old it was, without pretending code intelligence is execution evidence; the freshness posture is credited to ECC's codemap work.

Do Not Use When

Examples

Good example:

Bad example:

Completion Checklist

Recovery Notes

Workflow Lane

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

Hermes role: planner

Quality tier: codegraph-gated

Reasoning demand: standard

Quality bar:

Handoff policy:

Keep codegraph refresh as prepared local code-intelligence context. Running omh codegraph build, omh codegraph summary, or omh codegraph handoff requires observed command evidence before reporting artifact writes, summaries, focus files, or executor-ready handoff context.

Required inputs:

Expected outputs:

Artifact expectations:

Safety rules:

Structural Code Search

When the target is a syntactic shape rather than a string, load skill_view(name='omh-routing', file_path='references/structural-code-search.md') before searching. If ast-grep is not on PATH, use grep/ripgrep exactly as today. Cap exploration to a few bounded, targeted queries before reading a full file, escalate to a wider query only when a bounded pass finds nothing or stays ambiguous, and stop once the target is found.

Runtime Evidence

Preferred harness for this skill: codegraph-refresh.

omh runtime record --skill codegraph-refresh --harness codegraph-refresh --status started

Record observed delegation results; otherwise return not_available or not_observed.

Prepared OMH routing is not execution, review, CI, merge-readiness, or merge evidence.

Preserve workflow intent and stop conditions; verify before claiming completion.

Reply in the user's own words and the host's own voice: its SOUL.md persona owns reply language, tone, speech level, and sentence endings, progress updates included (where it sets no language, use the one the user wrote in), and OMH shapes structure and content only. When the requested output is delivered, put any open points inside the result and end with no question or offer; only when the person asked to choose or decide and that choice is still theirs, end with one specific question about it, not a list, a generic offer, or a footer; the shared rail's Reply Language And Host Voice and Turn Ending sections hold the full rule.

Use Hermes-native subagent/delegation features when available: native subagents -> Hermes delegation when available, otherwise sequential lanes.

Shared product, compatibility, topology, memory, harness, and execution rules: skill_view(name='omh-routing', file_path='references/skill-common-rail.md'). Load it when applicable; otherwise name an unavailable capability.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.