Install
$ agentstack add skill-digital-stoic-org-agent-skills-distill-skill ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Distill Skill — Session → Skill
Record a CC session, then distill it into a generalized skill via edit-tool. Two modes: forward (record as we go) and retrospective (parse session-so-far).
Modes
| Arg | Mode | When | |---|---|---| | start | Forward | User invokes at/near session start. Creates trace dir, annotates turns going forward. | | finalize | Close out | End of session. Run search-skill dedup, propose split, hand to edit-tool. | | status | Inspect | Show current trace dir + turn count + friction/confusion tally. | | (none) | Retrospective | Parse session-so-far. ⚠️ Warn if compaction may have occurred (turn count high / early context lost). |
Workflow
1. start — initialize trace
: "${PRAXIS_DIR:?PRAXIS_DIR must be set}"
SID=$(date -Iseconds | tr ':+' '-')
DIR="$PRAXIS_DIR/.tmp/distill-skill/$SID"
mkdir -p "$DIR"
echo "$DIR" > "$PRAXIS_DIR/.tmp/distill-skill/.current"
Create three files in $DIR:
trace.jsonl— append-only per-turn:{ts, turn, user_intent, tools_used, files_touched, outcome, friction?, confusion_flag?}draft.yaml— RISEN-lite scaffold (seereference.md)anti-patterns.md— what didn't work + why
Respond: 🎬 Recording to $DIR. Annotate turns as you go. /distill-skill finalize when done.
2. Annotate each turn
After each meaningful turn, append to trace.jsonl — fields: user_intent (generalized, not verbatim) · tools_used · files_touched · outcome ∈ {ok,retry,abandoned} · friction (verbatim correction, if any) · confusion_flag (true if assistant asked clarifying Q → signals upfront disambiguation needed).
Keep draft.yaml filled progressively as evidence accumulates.
3. finalize — distill
- Compaction check (retrospective only): turn >30 or early context lost → warn, confirm start-of-session facts first.
- Generalize:
trace.jsonl+draft.yaml→ strip session-specifics. - Dedup:
/search-skill→ report overlap verdict. Mandatory. - Split: ≥2 distinct end-goals with disjoint tools/inputs → propose split, confirm.
- Preload scan: Glob
$PRAXIS_DIR/reference/for frameworks referenced → list as@includecandidates. - Handoff:
/edit-toolwithdraft.yaml+anti-patterns.md→ it triages (skill/bash/agent) and writes. Never write final skill directly. - Kaizen: each
retry-friction → append to$PRAXIS_DIR/thinking/kaizen/distill-skill.jsonl.
4. status
Read .current → print $DIR, wc -l trace.jsonl, friction count (grep -c '"friction"'), confusion count.
RISEN-lite scaffold
Structures what to gather, not final format. Full template + trace schema + annotation heuristics + split rules in reference.md.
role: {who performs — inferred from session}
intent: {generalized goal, session-specifics stripped}
steps: [{ordered actions observed}]
end_goal: {observable success criteria}
narrowing: {constraints, anti-patterns, confusion-disambiguation, resources}
Rules
- Friction + anti-patterns are non-negotiable in final skill's
narrowing. - Confusion flags → upfront disambiguation in final skill.
- No compaction handling: warn, don't fix.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: digital-stoic-org
- Source: digital-stoic-org/agent-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.