lythoskill-hello-world
A minimal hello-world skill. No scripts, no dependencies. Demonstrates the simplest possible thin-skill: just a SKILL.md.
lythoskill-project-scribe-weekly
Weekly synthesis writer. Distills the past 7 days' core thread + quest DAG (task dependency graph) into a frontmatter-rich short doc. Never replays git log or cortex INDEX (those are direct queries already). Forms the weekly counterpart to project-scribe (daily) and project-onboarding (read-side).
Full skill instructions
Distill, don't replay. The core thread matters; the 17 commits that touched it don't.
Weekly is a memory offloading mechanism, not a menu listing.
| Direct queries (skip these) | Scribe-weekly must synthesize |
|---|---|
git log --since="7 days ago" | The one decision that mattered most |
ls daily/2026-05-* | Why the planned vs actual divergence happened |
cat cortex/INDEX.md | Which emergent threads earned attention |
bunx @lythos/project-cortex list | What pattern is hardening into a project trait |
If the next agent can find it via ls daily/, git log, or cortex index — don't replicate it. Link to it.
Why this matters: A future agent reading a weekly cold (no daily access) should get the compressed representation of the week's cognitive work — the pattern, not the commits. Without this, every agent must reconstruct the narrative from 6 daily files + 29 commits + 10 ADRs. Weekly offloads that reconstruction cost once, permanently.
cortex probe — gather before you write)Do NOT start writing from memory. Run prep first. This is the write-side counterpart to onboarding's read-side: just as onboarding reads daily → verifies git → presents summary, weekly prep gathers all sources → surfaces anomalies → ranks importance.
# ISO week alignment check — confirm what week we're in and what span to cover
python3 -c "import datetime; d = datetime.date.today(); iso = d.isocalendar(); \
mon = d - datetime.timedelta(days=d.weekday()); \
sun = mon + datetime.timedelta(days=6); \
print(f'Today: {d} ({d.strftime(\"%A\")}) — ISO W{iso.week}'); \
print(f'Standard span: {mon}_to_{sun}')"
# Daily surface — which days had activity?
ls daily/*.md | sort | tail -7
# Git surface — what actually landed?
git log --since="7 days ago" --oneline
# Cortex surface — what state changed?
bunx @lythos/[email protected] probe
bunx @lythos/[email protected] stats
# ADR surface — what decisions were accepted this period?
ls -lt cortex/adr/02-accepted/ | head -15
# Delta from last weekly — what's new since the last snapshot?
ls weekly/ | sort | tail -1
Scan the gathered data for:
agent-run → single, deck sync → deck to-symlink)priority_at_start last week but never appeared in this week's dailiescore_thread. Clusters that involve superseded docs → docs_now_stale.Test: can you identify the single most important decision of the week? If the combo redefinition (May 6) would be invisible in your weekly, you didn't rank correctly.
Present a 5-line summary:
📊 Weekly Prep — 2026-W22
📄 Dailies: 2026-05-21, 2026-05-28 (gap May 22-27)
🔀 ADRs: 3 proposed, 0 accepted this period
⚠️ Anomalies: combo redefinition (May 6) not captured in any weekly
💡 Top cluster: site documentation debt cleanup (P0 → done)
📋 docs_now_stale candidates: ADR-20260501160000000, external-skill-governance-bridge.md
User confirms → proceed to write. User flags missing items → add to cluster list.
If today is Sunday and you observe any of these signals during session close:
Suggest to the user, in their own language: this week's work seems to have reached a natural close — do they want to consolidate a weekly and record the week's pattern?
User says yes → run weekly prep. User says no or ignores → write daily scribe as usual, don't push.
| Mode | When | Action |
|---|---|---|
| Fresh | No weekly exists for current week | Write new weekly with standard period |
| Append | Weekly already exists, weekend had more work | Append to existing weekly, update core_thread if needed |
| Catch-up | Gap week(s) detected | Write "no active work" weekly for gap, then current week |
Daily scribe continues regardless. Weekly does not replace daily; they are different abstraction layers.
# 1. Daily files from the past 7 days
ls daily/*.md | sort | tail -7
# 2. Git activity (for reference, not replay)
git log --since="7 days ago" --oneline
# 3. Current cortex state
bunx @lythos/[email protected] index
bunx @lythos/[email protected] stats
# Cortex uses timestamp IDs (ADR-yyyyMMddHHmmssSSS, TASK-...,
# EPIC-...). This lets you grep by date range:
# ls cortex/adr/02-accepted/ | grep '^ADR-2026051'
# Use this when reconstructing a missing weekly from ground truth.
# 4. Session recall — ask yourself:
# - What was the priority at week start?
# - What actually got done vs paused?
# - What emerged mid-week that wasn't planned?
# - What pattern repeated across multiple days?
---
period: 2026-05-01_to_2026-05-07
core_thread: "one-line synthesis of the week's unifying theme"
priority_at_start:
- "what was planned"
priority_at_end:
- "what actually became priority"
quests_advanced:
- EPIC-xxx: epic name (status)
quests_unlocked:
- "new task or epic that became actionable"
quests_paused:
- "task or epic that was deferred"
parked_threads:
- "noted but not pursued"
decisions_accepted:
- ADR-xxx: decision title
retro_cells:
planned_done: "what was planned and completed"
planned_paused: "what was planned but didn't happen (and why)"
emergent_done: "what emerged and earned attention"
emergent_paused: "what emerged but was parked"
project_lesson_candidates:
- "pattern that might become a wiki entry if it repeats"
references:
daily: ["daily/2026-05-01.md", "daily/2026-05-02.md", ...]
cortex_index: cortex/INDEX.md
---
Compare intended priorities against actual execution:
| Done | Paused / Dropped | |
|---|---|---|
| Planned (priority at start) | ✅ Validated priorities — called right | ⚠️ Priority correction — why did it slip? |
| Emergent (surfaced mid-week) | 🌱 What proved deserving of attention | 📋 Noted-but-parked threads |
Rule of thumb: One concise line per cell explaining what happened and why. Not a task list.
"太细节的小事不会在 weekly 里。特别强烈的印象会在。" ("Tiny details don't go in the weekly. What goes in is what left a strong impression.")
| Include | Exclude |
|---|---|
| Decisions that changed direction | Every commit message |
| Patterns across multiple days | Single-day bugs already fixed |
| Unblocked epics or tasks | Routine maintenance |
| Surprising findings from E2E | Formatting changes, refactors |
| Project traits worth documenting | Tool version bumps |
Test: If a future agent reading this weekly cold (no daily access) would mistake a detail for a non-event, it doesn't belong.
Before relying on a weekly for planning, spot-check its claims against ground truth:
# Does the recorded epic/task status match reality?
bunx @lythos/[email protected] probe
# Does the git activity match the claimed period?
git log --since="2026-05-01" --until="2026-05-07" --oneline
# Do the referenced daily files exist?
ls daily/2026-05-*.md
Wrong facts in weekly = disaster for next agent. The agent owns this verification — there is no validate-weekly CLI; weekly is a pure skill that produces a doc, the agent uses cortex probe + git log + daily ls to reality-check what it just wrote.
Do not present fake options. When asking user for next step, every option must be a real choice with different consequences. Do not include:
Why: Fake options waste user attention. They feel like marketing tricks — psychological anchors designed to make one option look good by contrast. Respect user time by offering genuine trade-offs or making the recommendation directly.
Pattern: If you know what should happen, say so. If you need user input, offer 2-3 real alternatives with consequence briefs. If there's no real choice, don't ask.
Examples:
Weekly writing is not a rigid procedure. It's a scenario-driven, package-based exploration between agent and user. Like an ADV game: there are branches, but each branch has a default skeleton.
Trigger: User says "写 weekly" ("write the weekly") / "这周总结一下" ("summarize this week") / end-of-week feeling
| Package | When | Skeleton | Optional Add-ons |
|---|---|---|---|
| A1: Fresh | No weekly for current ISO week | Standard ISO period + full prep | ADR timeline, daily cross-reference |
| A2: Append | Weekly exists, work continued | Extend period, update core_thread | Merge cross-week git activity |
| A3: Catch-up | Gap detected | Fill gap with "no active work" first, then write current | Historical drift annotation |
Agent choice: Run ls weekly/*.md | sort | tail -3 to detect mode. Recommend package to user. User confirms or overrides.
Trigger: User explicitly asks for cleanup / audit / sweep
| Package | When | Skeleton | Optional Add-ons |
|---|---|---|---|
| B1: Quick Scan (5 min) | User wants overview | Weekly chain + cortex probe | Gap report only |
| B2: Deep Audit (30 min) | User wants thorough check | Full 23-item reference checklist | User selects scope |
| B3: Targeted | User names specific debt | Agent drills from weekly chain into named area | Cross-reference ADR/task |
Agent choice: Ask user "quick scan or deep?" Default to B1 if user just says "消债" ("pay down debt") without qualifier.
Trigger: User says "LGTM" / "先到这里" ("let's stop here") / session ending
| Package | When | Skeleton | Optional Add-ons |
|---|---|---|---|
| C1: Standard Handoff (default) | No weekly suspicion | Write daily, no eager weekly check | — |
| C2: Weekly Suspicion | User mentions cross-week work / weekly conflict | Check weekly chain before scribe | Suggest append if needed |
Agent choice: Default C1. Switch to C2 only if session content clearly spans weeks or user explicitly mentions weekly.
Trigger: User says "release" / "ship it" / version bump
| Package | When | Skeleton | Optional Add-ons |
|---|---|---|---|
| D1: Version Alignment | Pre-bump | Check package.json versions across packages | README version sync |
| D2: Reference Validity | Pre-publish | Check internal links, cross-package refs | External link spot-check |
| D3: Full Sweep | Major release | All 23 items + documentation freshness | Dreaming integration |
Agent choice: User names release scope → select package. Default D1 for patch, D2 for minor, D3 for major.
Trigger: User says "做梦" ("dreaming" — user asks for memory consolidation) / "consolidate" / "memory cleanup"
| Package | When | Skeleton | Optional Add-ons |
|---|---|---|---|
| E1: Trend Analysis | Every quarter | Weekly chain pattern + lesson candidate validation | Wiki promotion decisions |
| E2: Full Archive | Year-end / major milestone | All 23 items + historical drift full audit | SSOT regeneration |
Agent choice: Dreaming skill owns this. Weekly skill provides weekly chain as input.
Use this as a menu when user selects B2 (Deep Audit) or D3 (Full Sweep). Not for everyday use.
How to use: Agent presents checklist to user. User selects scope ("just 1 and 3" or "all"). Agent executes selected items. No automatic full scan.
Weekly is the anchor for long-range consistency. Not because it's the most frequent, but because it's the right frequency:
The weekly chain (weekly/2026-W17.md, 2026-W18.md, ...) is a temporal index. Future agents reading cold can:
This is the project's memory infrastructure in practice.
| When you need to… | Read |
|---|---|
| Full frontmatter spec and examples | references/weekly-format.md |
| Validate-companion pattern details | references/verify-companion.md |
| Relationship with daily scribe + onboarding | references/cqrs-architecture.md |
A minimal hello-world skill. No scripts, no dependencies. Demonstrates the simplest possible thin-skill: just a SKILL.md.
User-acceptance-driven release workflow using heredoc patch files. Each iteration produces a timestamped pr-<timestamp>-<desc>.sh that self-archives after execution. No tag without explicit user LGTM. Supports rollback via archived backups.
User-acceptance-driven release workflow using heredoc patch files. Each iteration produces a timestamped pr-<timestamp>-<desc>.sh that self-archives after execution. No tag without explicit user LGTM. Supports rollback via archived backups.
Register tasks BEFORE fixing bugs. Close epics when work is done. Always move state through the CLI — never mv files by hand: CLI moves write Status History, manual moves create probe mismatches. Never leave state drift for the next agent to discover via git log. GTD (Getting Things Done)-style g...
Scaffold and build projects for the lythoskill ecosystem only. Creates thin-skill monorepos: heavy logic in npm packages (Starter), agent-facing instructions in lightweight SKILL.md (Skill), build output committed to skills/ (Output).
Declarative skill deck governance. `deck link` reconciles the working set to match skill-deck.toml — deny-by-default removes undeclared skills. DEFAULT patterns: PHASE SWITCH via separate deck files (deck link --deck phase<N>.toml), SEED bootstrap (minimal deck → agent self-expands via deck add +...
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...
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience