Skill
Skill lythos-labs/lythoskill/packages/lythoskill-project-scribe/skill
Declarative coordination for agent skills — multi-platform, deny-by-default, local-first. One manifest. One command. Only what you declared.
npx -y skills add lythos-labs/lythoskill --skill skillAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Session context dump. Self-assess what the conversation contains that has NO other carrier (no task, no ADR, no epic) — pitfalls, working-tree anomalies, why-we-chose-this, specific next steps — and write to daily/YYYY-MM-DD.md. Things WITH structured carriers go to their carriers. Things WITHOUT carriers but needed by the next agent go here. Forms CQRS write-side pair with project-onboarding (read-side).
SKILL.md
6.3 KB, as published. Nobody here has run it
Project Scribe
Write what
ls+cat+git logcannot recover. Skip everything else.
Value Boundary
Scribe = session context dump for things WITHOUT structured carriers.
对话中产生了什么?
├── 有 task/adr/epic 载体 → 写到对应 carrier,不写 scribe
└── 无载体 → 自评: 下一个 agent 需要知道吗?
├── 需要 → scribe
└── 不需要 → 不写
| File exploration recovers (~70%) | Scribe must dump (~30%) |
|---|---|
| Project structure, tech stack | Pitfalls from this session |
| skill-deck.toml content | True working-tree state (prevents hallucination) |
| cortex/ tasks and epics | Why we chose A not B (not ADR-worthy but still important) |
| git log history | Specific next steps (not "test it") |
| README, docs | Temp artifacts: location + purpose |
| git diff (code changes) | Uncommitted modifications and their intent |
| Meta-observations that emerge mid-conversation |
If the next agent can find it via ls, cat, or git log — don't repeat it.
Pre-Handoff Checklist (mandatory before writing)
# 1. Git state
git status
git log --oneline -5
# 2. Cortex state (if cortex is active)
bunx @lythos/project-cortex@{{PACKAGE_VERSION}} list
# 3. Session recall — ask yourself:
# - What did I modify but not commit?
# - What pitfalls did I hit?
# - What important decisions were made verbally?
# - What temp files did I create and where?
# - What would the next agent most likely misunderstand?
Template Usage
Scribe produces two file types. Follow the templates — they encode the best-practice format that evolved from 100+ daily/weekly files.
| File type | Template | When to write |
|---|---|---|
| Daily | references/daily-template.md | At session milestones or end |
| Weekly | references/weekly-template.md | End of week (Sunday night) |
Rule: Do not invent format. If the template has a section, include it.
If a section is marked REQUIRED, it must be present even if empty (e.g.,
quests_paused: [] proves you checked, not forgot).
Core Operation: Write Daily File
Output goes to daily/YYYY-MM-DD.md. The first section must be ## Session Handoff.
Human work logs follow after the handoff section.
# File location
daily/
├── 2026-04-23.md # Yesterday's daily (contains handoff + work log)
├── 2026-04-24.md # Today's daily
└── ... # Flat date-based, no subdirectories
Multiple sessions on the same day: prepend a new ## Session Handoff section
at the top of the file. The onboarding skill reads the first (most recent)
handoff section.
Handoff Must Include Verification Commands
The handoff is not a snapshot — it's a snapshot plus instructions to verify freshness.
Always include in ## 0. Verify Current State:
## 0. Verify Current State
git diff <handoff-commit> --stat # Construct "from T0 to now"
git status --short # Real-time working tree
git log --oneline -3 # Confirm recent commits match
If the reader runs these and output diverges from the handoff, the handoff is stale. Real-time output takes precedence.
Pitfall Recording
When the user says "hit a bug" or "踩坑了", immediately record:
### Pitfall: <short description>
- **Wrong approach**: what was tried
- **Symptom**: error message or behavior
- **Fix**: what actually worked
- **Root cause**: why the wrong path seemed right
- **Time wasted**: X minutes
Record Then Continue
Recording is a checkpoint, not a termination signal.
Agents must not infer "I wrote the daily file → my job is done." The user may ask you to record a pitfall at turn 5 and then continue debugging at turn 6.
User: "踩坑了" → Record pitfall → Continue working on the bug
User: "记录一下这个决定" → Write to daily → Continue with the task
User: "先记一下进度" → Checkpoint → Continue
Default assumption: record then continue. Only stop when the user explicitly confirms (e.g., "session ending", "LGTM", "先到这里").
Gotchas
Show diff before writing. Always present the handoff content to the user for confirmation before writing to the daily file. Prevents hallucinated state from being persisted. Daily file = handoff + log. Do not create a separate HANDOFF.md. The daily file is the single source of truth. The onboarding skill reads from it directly. Diff artifacts ≠ working tree. If you generated code in a diff artifact during the conversation but haven't written it to disk, explicitly warn in the handoff: "⚠️ The following changes are in conversation artifacts only, not on disk." Cortex is optional. If the project uses cortex, read active tasks/epics during the pre-handoff check. If not, skip — scribe works independently.
Supporting References
| When you need to… | Read |
|---|---|
| See the full daily file template with all sections | references/daily-template.md |
| See the weekly file template (YAML + markdown body) | references/weekly-template.md |
| Understand the CQRS relationship with onboarding | references/cqrs-architecture.md |
| Set up automation triggers (hooks, events) | references/automation-triggers.md |