01
It starts by itself
weekly analysis stack check. Runs in Claude Code routine or cron.
- ↻ weekly analysis stack check
0 8 * * 1
Code analysis tools stay ready.
Install the CodeGraph and ast-grep skill and make it a habit: follow https://gethabit.dev/skills/stark-ai-de/codegraph-ast-grep.md
3K installs8 starsApache-2.0 licenceSource on GitHub ↗

CodeGraph and ast-grep
by stark-ai-de · 3K installs
The skill
The codegraph and ast-grep skill sets up, updates or diagnoses CodeGraph and the ast-grep CLI so coding agents get semantic repository scope and structural code search, with persisted guidance and safe migrations.
Only when you ask.
The habit
Code analysis tools stay ready.
↻ Runs by itselfweekly analysis stack check
When does it start? How does it check its work? What does it remember?
Stops after one doctor pass per run.
The agent states the doctor workflow, the exact root and that nothing will be repaired.
It checks executables, versions, config, MCP registration, CODEGRAPH_DIR state and repository guidance.
Before codegraph status or a graph query that may migrate metadata, it asks you to approve the exact root.
With approval it reports freshness, indexed languages and query readiness; without it, it reports the skipped check.
It writes the diagnosis to the log and suggests setup or update as a separate step.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the CodeGraph and ast-grep skill helps.
No. Agent-started runs may only pick doctor; setup and update need your explicit request.
The skill sets CODEGRAPH_TELEMETRY=0 for its own checks unless you agreed to telemetry.
Copy the prompt at the top into your agent. It installs the skill from stark-ai-de/agent-skills and sets up the habit. Or run npx skills add stark-ai-de/agent-skills --skill codegraph-ast-grep.
Yes. It is published under Apache-2.0. Habit is free too.
Install the CodeGraph and ast-grep skill and make it a habit: follow https://gethabit.dev/skills/stark-ai-de/codegraph-ast-grep.md
All stark-ai-de skills →More code skills →
Works in
Made by stark-ai-de, published under Apache-2.0. Habit links to the original and never changes it. Is this your skill?