software-factory
MAmattpocock/skills336k4,217 new stars in the last 7 days
[omh] Outdated code index or codemap: refresh local code…
This is an OMH codegraph-refresh workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
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.
omh-codebase-onboarding.ulw-work or a coding handoff.omh-frontend, omh-design-quality-gate, or omh-visual-qa.Good example:
Bad example:
omh_codegraph_summary/v1, omh_codegraph_context/v1, or .omh/codegraph/codegraph.json is claimed only with observed command or file evidence.omh-toolbelt-readiness before claiming freshness.omh codegraph summary shows no Python files, say so, navigate with rg or ast-grep, and present no handoff pack.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`, `코드그래프`, `코드그래프 갱신`, `코드맵`, `코드맵 갱신`, `코드 인덱스`, `코드 인덱스 갱신`
Category: planning
Phase: codegraph-refresh
Quality tier: codegraph-gated
Reasoning demand: standard
Quality bar:
--write, and --json deliberately instead of treating all codegraph commands as equivalent.omh-codebase-onboarding and implementation to ulw-work or the selected coding owner.Required inputs:
Expected outputs:
Artifact expectations:
omh codegraph build, summary, handoff, --write, and --json choicesgenerated_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 artifact is not stale, and the list stays non-empty after a rebuild), or the HEAD reflog's newest entry is later than generated_at (git reflog -1 --date=iso-strict --format=%gd prints HEAD@{<time>}; a branch switch or pull moves it while the commit time stays old; compare the two as instants, because the entry carries the local UTC offset and generated_at is UTC), or a dirty file is deleted (it has no mtime, so treat it as stale); a rebuild is the refresh because the scan is full, not incrementalomh_codegraph_summary/v1 or .omh/codegraph/codegraph.json only when the corresponding command output or write is observedomh codegraph handoff is observedSafety rules:
.omh/codegraph/codegraph.json was written without an observed omh codegraph build --write result.Use the current host's own tools and subagent/task mechanism when available;
otherwise run the same lanes sequentially or name the unavailable capability.
A prepared plan, handoff, checklist, or skill installation is not execution,
review, CI, merge-readiness, or merge evidence. Record actual tool results, or
not_observed / not_available, in the record; never invent dispatch or host
accounting.
Treat supplied context as advisory, not proof of hidden memory reads or writes.
State scope, constraints, verification, and the stop condition before work.
Reply in the user's own words and the host's own voice: the host's 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; OMH's record terms
(surface, lane, wrapper, handoff, evidence boundary, not_observed) stay in
records and tool calls, never in the sentence the user reads unless they ask
about one; and when a real unresolved user decision or a useful briefing discussion
remains, offer one specific, content-linked question. Completed work needs no question;
omit unrelated non-action footers and generic offers to continue.
Supporting paths are relative to this skill directory; sibling skill paths are
relative to its parent. Resolve them from the host-provided skill base directory
({baseDir} on hosts that provide it), never a hardcoded install location.
A named workflow not installed here is unavailable, not permission to emulate
its host-specific capabilities. Verify through the real surface before done.
MAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
AFaffaan-m/ECC314k3,503 new stars in the last 7 days
AFaffaan-m/ECC314k3,503 new stars in the last 7 days
AFaffaan-m/ECC314k3,503 new stars in the last 7 days
DIDietrichGebert/ponytail202k4,226 new stars in the last 7 days