Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/lythos-labs-lythoskill-project-cortex
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing, productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/lythoskill-project-cortex
What's inside
- Skill name
lythoskill-project-cortex- Description
- 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 governance across ADR (architecture decision record) / Epic / Task / Wiki. Zero-knowledge (ZK) review = a fresh-agent pass over a task card (WHAT/WHY/HOW) before assignment, so an executor with no conversation context can still run it. `cortex probe` = drift detector: stale backlog, drifted epics, history mismatches vs git reality. **Task-git discipline**: one task = 2-5 commits (core, tests, docs, trailer); every commit carries its full TASK-id (see ID Format — truncated IDs are not addressable).
- License
- MIT
- Instructions
- 441 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- name: "lythoskill-project-cortex" does not match folder "skill"
- allowed-tools: must be a space-separated string
Files (16)
- SKILL.md
- command-output.md · references/
- example-workflow.md · references/
- milestone-protocol.md · references/
- session-handoff.md · references/
- state-machines.md · references/
- template-guide.md · references/
- wiki-workflow.md · references/
- writing-guide.md · references/
- zk-review.md · references/
- adr.sh · scripts/
- epic.sh · scripts/
- index.sh · scripts/
- init.sh · scripts/
- probe.sh · scripts/
- task.sh · scripts/
SKILL.md (first lines)
# Project Cortex: ADR + Epic + Task + Wiki
> Automation over memory. Use CLI for IDs and templates. Use index for discovery.
## Three Systems
```
Epic (WHY) ADR (HOW) Task (WHAT)
requirement origin technical decision executable work
derives tasks guides tasks links to epic/adr
```
**OS analogy**: Think of the governance system like an operating memory model.
| Component | OS Analogy | Role |
|-----------|-----------|------|
| **Epic** | Memory segment (heap) | Stores the full context — background, requirement tree, zoom-in map. **Workflowy-style**, not a todo list. |
| **ADR** | Code segment (text) | Stores ratified decisions — options considered, consequences, follow-ups. Immutable once accepted. |
| **Wiki** | Shared library | Reusable knowledge extracted after tasks complete. Patterns, FAQs, lessons. |
| **Task** | **Pointer / Reference** | A task card is a `pointer` to epic/adr context plus executable instructions. It does **not** inline the full epic or ADR body — that would be "pass by value" and create drift. |
**Pass by reference, not by value**: A task card should contain precise pointers (`Refs: EPIC-xxx`, `See ADR-yyy §Decision`, `Modify: src/path.ts`) so a subagent can navigate to source of truth. The card is a **map**, not a warehouse. A new team member reading only AGENTS.md + the task card should be able to find everything needed without asking for clarification.
## Also Trigger When
- About to commit and need to write a trailer (`Closes: TASK-xxx`, `Task: TASK-xxx review`, `ADR: ADR-xxx accept`)
- Just finished a task and need to move it to review/completed
- Need to check active tasks/epics before starting new work
- Found a bug or vulnerability — register it as a task BEFORE fixing
- Discovered a systemic issue that needs an ADR
- QA sweep found findings that need tracking
- Need to register a lesson learned or pitfall
- User says "登记" / "记录一下" / "记下来" / "别忘了"
- Before assigning a task to an executor agent — ZK Review the card (WHAT/WHY/HOW, prerequisites, contracts, baselines, scope)
- See a TASK-xxx or EPIC-xxx reference and need context
- husky post-commit trailer processing (trailers auto-create follow-up commits)
**CRITICAL — trigger proactively, do NOT wait for the user to ask:**
- Finished a batch of fixes and pushed — verify tasks moved, epic status matches reality
- Writing or updating daily notes (save discipline — after ANY commit batch) — run `cortex list` and close stale epics, don't leave them for the next agent
- Notice an epic marked active but its tasks are all done — it's state drift, close it immediately
- Commit message includes Closes:/Task: trailers — verify post-commit dispatch worked, tasks actually moved
- **ABSOLUTELY FORBIDDEN: mv/cp/rename task or epic files by hand.** ALWAYS use CLI: `cortex start/done/complete/suspend <id>`. Manual moves skip Status History update and create probe noise.
## CLI Commands
```bash
# Create documents (CLI assigns timestamp ID, generates from template)
bunx @lythos/project-cortex@{{PACKAGE_VERSION}} task "Fix login bug"
bunx @lythos/project-cortex@{{PACKAGE_VERSION}} epic "User auth system" --lane main|emergency
bunx @lythos/project-cortex@{{PACKAGE_VERSION}} adr "Choose database"
# Create a Wiki entry (dated, for knowledge capture)
bunx @lythos/project-cortex@{{PACKAGE_VERSION}} wiki "Your insight" --category pattern|faq|research|lesson|ssot
# Initialize cortex/ directory structure in current project
bunx @lythos/project-cortex@{{PACKAGE_VERSION}} init
# Process commit trailers (used by post-commit hook)
bunx @lythos/project-cortex@{{PACKAGE_VERSION}} dispatch-trailers
```
> **⚠️ MANDATORY: CLI create is Step 1/3. Step 2/3 is IMMEDIATE EDIT.**
> After `cortex task/epic/adr` creates the file, you MUST edit it right away
> to fill Background, Requirements, and Acceptance Criteria.
> The CLI prints `Step 2/3 NOW: Edit the file...` — follow it.
> Empty templates will be REJECTED by pre-commit probe.
>
> **English-only slugs are MANDATORY.** Task/epic titles must be ASCII-only.
> Filenames like `TASK-xxx-<slug>.md` must contain no Chinese or other non-ASCII
> characters. Use English titles so paths are portable across agents and CLIs.
>
> **The agent never hand-assembles paths or generates IDs.** The CLI handles
> timestamp IDs, template filling, and directory placement. The agent runs the
> command, reads the full path and ID from its output, and immediately edits the
> file to fill in content. Write titles in English so the slug stays ASCII-only.
## Task-Git Discipline
**One task = 2-5 commits, not 1 giant commit.** Separate:
1. **Core change** — implementation
2. **Tests** — co-located `*.test.ts`
3. **Docs/templates** — SKILL.md, AGENTS.md updates
4. **Review trailer** — `Review: TASK-xxx` empty commit
**Task card must include:**
- **Commit Map**: `| Hash | Message | Contains |` — reviewer runs `git show <hash>`
- **Verification Matrix**: `| # | Claim | Verify | Expected |` — each AC has `→ Verify: <command>`
- **Quick Check**: 30-second bash block reviewer can copy-paste
**Every commit message includes `TASK-xxx`.** Enables `git log --grep TASK-xxx` to reconstruct full history.
# Generate INDEX.md with overview stats and document listing
bunx @lythos/project-cortex@{{PACKAGE_VERSION}} index
# List all tasks, epics, ADRs
bunx @lythos/project-cortex@{{PACKAGE_VERSION}} list
# Show project statistics
bunx @lythos/project-cortex@{{PACKAGE_VERSION}} stats
# Probe: check if file location matches internal status record + epic lane counts
bunx @lythos/project-cortex@{{PACKAGE_VERSION}} probe
```
## State Machine Commands
```bash
# Task state machine
bunx @lythos/project-cortex@{{PACKAGE_VERSION}} start TASK-xxx
bunx @lythos/project-cortex@{{PACKAGE_VERSION}} review TASK-xxx
bunx @lythos/project-cortex@{{PACKAGE_VERSION}} done TASK-xxx # review → completed only
bunx @lythos/project-cortex@{{PACKAGE_VERSION}} complete TASK-xxx # any status → completed (trailer-driven)
bunx @lythos/project-cortex@{{PACKAGE_VERSION}} suspend TASK-xxx
bunx @lythos/project-cortex@{{PACKAGE_VERSION}} resume TASK-xxx
bunx @lythos/project-cortex@{{PACKAGE_VERSION}} terminate TASK-xxx
bunx @lythos/project-cortex@{{PACKAGE_VERSION}} archive TASK-xxx
# ADR state machine
bunx @lythos/project-cortex@{{PACKAGE_VERSION}} adr accept ADR-xxx
bunx @lythos/project-cortex@{{PACKAGE_VERSION}} adr reject ADR-xxx
bunx @lythos/project-cortex@{{PACKAGE_VERSION}} adr supersede ADR-xxx --by ADR-yyy
# Epic state machine
bunx @lythos/project-cortex@{{PACKAGE_VERSION}} epic done EPIC-xxxFrom lythos-labs/lythoskill, MIT.
More from lythos-labs/lythoskill
- 0.605score
lythoskill-project-scribe
lythos-labs
Session context dump.
SkillAFreshness: A★ 3Claude Code +9 - 0.605score
lythoskill-project-onboarding
lythos-labs
Session context loader.
SkillAFreshness: A★ 3Claude Code +9 - 0.605score
lythoskill-dreaming
lythos-labs
Project memory consolidation — 夜有所梦 ("night dreams": the day's scattered notes get consolidated into long-term memory while "sleeping").
SkillAFreshness: A★ 3Claude Code +9 - 0.605score
lythoskill-reminders
lythos-labs
Reconciles a declarative session-reminder registry (cortex/REMINDERS.toml) against the host's session-scoped cron tools.
SkillAFreshness: A★ 3Claude Code +9 - 0.602score
lythoskill-red-green-release
lythos-labs
User-acceptance-driven release workflow using heredoc patch files.
SkillAFreshness: A★ 3Claude Code +9 - 0.602score
lythoskill-project-scribe-weekly
lythos-labs
Weekly synthesis writer.
SkillAFreshness: A★ 3Claude Code +9 - 0.602score
lythoskill-coach
lythos-labs
Analyzes SKILL.md files against Agent Skills best practices.
SkillAFreshness: A★ 3Claude Code +9 - 0.602score
lythoskill-writer
lythos-labs
Human-first documentation writer and reviewer.
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
lythoskill-arena
lythos-labs
Test play for skills and deck configurations.
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
lythoskill-curator
lythos-labs
Skill curator (买家秀 — "buyer show": hands-on QA notes, as opposed to the author's own 卖家秀 "seller show" claims).
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
lythoskill-sober
lythos-labs
Stay clear-headed.
SkillAFreshness: A★ 3Claude Code +9 - 0.598score
lythoskill-creator
lythos-labs
Scaffold and build projects for the lythoskill ecosystem only.
SkillAFreshness: A★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 23, 2026 (5 days ago)
- Last release
- Oct 14, 2026 (15 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/lythos-labs/lythoskill
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from lythos-labs
- 0.605score
lythoskill-project-scribe
lythos-labs
Session context dump.
SkillAFreshness: A★ 3Claude Code +9 - 0.605score
lythoskill-reminders
lythos-labs
Reconciles a declarative session-reminder registry (cortex/REMINDERS.toml) against the host's session-scoped cron tools.
SkillAFreshness: A★ 3Claude Code +9 - 0.605score
lythoskill-project-onboarding
lythos-labs
Session context loader.
SkillAFreshness: A★ 3Claude Code +9 - 0.605score
lythoskill-dreaming
lythos-labs
Project memory consolidation — 夜有所梦 ("night dreams": the day's scattered notes get consolidated into long-term memory while "sleeping").
SkillAFreshness: A★ 3Claude Code +9 - 0.602score
lythoskill-coach
lythos-labs
Analyzes SKILL.md files against Agent Skills best practices.
SkillAFreshness: A★ 3Claude Code +9 - 0.602score
lythoskill-project-scribe-weekly
lythos-labs
Weekly synthesis writer.
SkillAFreshness: A★ 3Claude Code +9
Cite this page
lythoskill-project-cortex. Agent Mart. https://agentmart.dev/skills/lythos-labs-lythoskill-project-cortex (last updated 2026-10-24)