Skip to content
Agent Orchestration
Skill

/omh-codegraph-refresh

[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,

From plugin
oh-my-hermes
5.7k158 skills

Claude Code

$ npx -y skills add rlaope/oh-my-hermes --skill omh-codegraph-refresh --agent claude-code

SKILL.md

omh-codegraph-refresh.SKILL.md
name: "omh-codegraph-refresh"
description: "[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."
license: MIT
author: "oh-my-hermes maintainers"
metadata:
  hermes:
    tags: [workflow, oh-my-hermes, planning]
    category: planning
    phase: codegraph-refresh
    role: planner
    quality_tier: codegraph-gated
    related_skills: [omh-codebase-onboarding, ulw-work, omh-frontend, omh-design-quality-gate, omh-visual-qa]

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

  • 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-work` or a coding handoff.
  • The user asks for visual, frontend, or rendered UI QA; use `omh-frontend`, `omh-design-quality-gate`, or `omh-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.json` is 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 `omh-doctor` or `omh-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.
  • The codegraph indexes Python files only; when `omh codegraph summary` shows no Python files, say so, navigate with `rg` or `ast-grep`, and present no handoff pack.

Workflow Lane

  • Current lane: **Intent -> plan** - clarify, plan, ship, or loop goals.
  • If intent belongs to another lane, hand back to `omh-routing` or name the adjacent workflow.
  • Shared product, routing, compatibility, and evidence rules: `skill_view(name='omh-routing', file_path='references/skill-common-rail.md')`.

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:

  • Name repo root, refresh depth, task focus, artifact write policy, and stop condition.
  • Choose build, summary, handoff, `--write`, and `--json` deliberately 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 `omh-codebase-onboarding` and implementation to `ulw-work` or the selected coding owner.

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:

  • 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 `--json` choices
  • staleness_and_scope_report/v1 separating requested refresh scope, observed command output, missing index evidence, and stale artifacts; the artifact is stale when its `generated_at` is older than the newest commit (`git log -1 --format=%cI`) or a Python file listed by `git status --porcelain -- '*.py'` has an mtime later than `generated_at` (a dirty file older than the arti
Read more
@rlaope
Ships withoh-my-hermes

⚚ The ultrawork agent with AI coworkers wired into you

5.7k158 skills
Get the whole plugin

Stars on GitHub

Momentum

stars in total
5.7k
Star history of rlaope/oh-my-hermes on GitHub, a chart by star-history.com

Other skills on oh-my-hermes.

model-onboarding

model-onboarding

Onboard a new model generation or sibling into oh-my-hermes: probe router recognition, research the official contract, write…

@rlaope@rlaopeInstall Skill
review-sweep

review-sweep

Review oh-my-hermes pull requests that have not been reviewed at their current head commit. Run manually to sweep the open…

@rlaope@rlaopeInstall Skill
triage-sweep

triage-sweep

Backfill labels across oh-my-hermes issues and pull requests. Run manually to sweep everything currently unlabeled, or pass a…

@rlaope@rlaopeInstall Skill
dag-ulw

dag-ulw

[omh] Large multi-part job to run on its own: plan it as a graph of small nodes, run the ready ones in parallel through Hermes'…

@rlaope@rlaopeInstall Skill
omh-achievements

omh-achievements

[omh] Hermes badges unlocked and achievement progress: achievements observation: summarize hermes-achievements badges, tiers,…

@rlaope@rlaopeInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw4d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca1d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip2d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about omh-codegraph-refresh.

Which coding agents can use omh-codegraph-refresh?
omh-codegraph-refresh installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.