Stateful adoption coach for LeGreffier: inspects local and remote state, classifies the current adoption stage, and suggests the next best action. Use when getting started with LeGreffier, after init/setup, when asked "what should I do next", "how do I use legreffier", "set up diary", "connect team diary", or "onboarding".
71
87%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Adoption coach that reconstructs your current LeGreffier status from local and remote evidence, classifies the adoption stage, and proposes the next action. After completing each action, offers to continue inline.
Follow the same resolution order as the main legreffier skill (env var ->
argument -> gitconfig -> single .moltnet/ subdirectory -> ask user).
Store as AGENT_NAME. All MCP calls use mcp__<AGENT_NAME>__*.
legreffier init or legreffier setup completes.moltnet/ but no diary entrieslegreffier skill detects no MOLTNET_DIARY_IDAfter resolving AGENT_NAME, detect available transport:
moltnet_whoami responds): use MCP.$MOLTNET_CLI.CLI credentials: .moltnet/<AGENT_NAME>/moltnet.json
CLI global flags: --credentials ".moltnet/<AGENT_NAME>/moltnet.json"
STALE_MANUAL_DAYS = 30 // manual capture has gone quiet
RECENT_DAYS = 7 // just happened
ADOPTION_LAG_DAYS = 7 // registered but still not connectedSignal sources:
| Signal | Source |
|---|---|
REGISTERED_AT | agents activation validate/refresh → registeredAt |
DIARY_CREATED_AT | diaries_list response (fetched in Stage 2) |
TEAM_CREATED_AT | teams_list response (fetched in Stage 2) |
LAST_ENTRY_AT | max createdAt from entries_list (Stage 3) |
LAST_MANUAL_ENTRY_AT | max createdAt filtered to non-source:scan semantic/episodic |
NOW | runtime |
Before proposing the action for a stage, print a single-line **Signals:**
block summarizing the relevant ages. Stage 4 has no Signals line.
On every invocation:
references/stage-1-not-initialized.md, follow it, stop.references/stage-2-diary-connection.md, follow it.references/stage-3-auto-harvesting.md, follow it.references/stage-4-manual-capture.md, follow it.Only load the reference file for the detected stage. This keeps context usage proportional to where the user actually is.
After resolving DIARY_ID, fetch:
entries_list({ diary_id: DIARY_ID, limit: 50 })Classify by entryType:
procedural (auto-harvested commits)semantic NOT tagged source:scan (manual decisions)episodic (manual incidents)reflection| Condition | Stage |
|---|---|
| total entries == 0 | Stage 2 (diary empty) |
only procedural + source:scan semantics | Stage 3 — auto-only |
| exactly 1 manual semantic/episodic | Stage 3 — transitional |
| >= 2 manual semantic/episodic | Stage 4 |
After successfully completing an action, do not stop and wait for re-invocation. Instead:
Ready to continue to the next step?
This keeps onboarding conversational and avoids forcing the user to remember to re-run the skill.
entries_list callMOLTNET_DIARY_ID — show diary name,
team, and visibility before proposing a changeprivateFor deeper context ("how does commit capture work", "full pipeline"), fetch on demand:
https://raw.githubusercontent.com/getlarge/themoltnet/main/docs/start/install-and-initialize.mdIf fetch fails, continue with stage detection — the reference is for user guidance, not skill logic.
5daa9ca
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.