Filesystem-native task tracker for humans and AI agents
Project description
Yaks
Filesystem-native task tracker for AI coding agents. Markdown files with YAML frontmatter, no database, no daemon.
Yaks gives your AI coding assistant persistent task tracking across sessions. Tasks are stored as markdown files (with YAML frontmatter for metadata) in a .yaks/ directory within your project — readable, diffable, and friendly to version control. Use it two ways: commit .yaks/ to share a tracker with your team, or gitignore it to keep a private, local-only scratchpad. It ships as a plugin for Claude Code and OpenAI Codex, as an installable skill for Zed, and as a standalone CLI for any other agent.
Install
Claude Code
claude plugin add --from /path/to/yaks
The plugin bundles the yak and yak-tracker skills, which activate automatically when .yaks/ exists in a project. The skills teach the agent to drive the yaks CLI directly (see CLI tool below to install it).
OpenAI Codex
Yaks ships a .codex-plugin/plugin.json manifest. Install it from the Codex plugin browser, or point Codex at a local clone:
codex plugin marketplace add ./path/to/yaks
The .claude-plugin/marketplace.json legacy path also works if Codex picks it up automatically from a project root.
Zed
Yaks ships a skills/yak/ skill directory that follows the Agent Skills spec. Install via skills.sh:
# Global (available in all projects)
npx skills add joelgwebber/yaks
Or copy manually from a local clone:
# Global
cp -r /path/to/yaks/skills/yak ~/.agents/skills/yak
cp -r /path/to/yaks/skills/yak-tracker ~/.agents/skills/yak-tracker
# Project-local (inside your project, requires trusted worktree)
cp -r /path/to/yaks/skills/yak .agents/skills/yak
cp -r /path/to/yaks/skills/yak-tracker .agents/skills/yak-tracker
Once installed, the yak skill appears in Zed's skill catalog and activates automatically when the agent detects a .yaks/ directory. You can also invoke it with /yak in the message editor. The yak-tracker skill relates yaks to external issue trackers as a one-way projection (rollup, import-once, outbound draft).
The skills instruct Zed's agent to use the yaks CLI, so install that too (see CLI tool below).
CLI tool (any agent)
The distribution is published on PyPI as yakherder; the command it installs is yaks (the name yaks was already taken on PyPI):
# From PyPI (recommended) — puts `yaks` on your $PATH
uv tool install yakherder
# Or straight from GitHub / a local clone
uv tool install git+https://github.com/joelgwebber/yaks
uv tool install /path/to/yaks
All subcommands work: yaks list, yaks create, yaks tui, etc. Upgrade with uv tool upgrade yakherder.
Prefer not to install anything? Run it zero-install in an isolated environment:
uvx yakherder tui # or any subcommand: uvx yakherder list, uvx yakherder next, ...
For agents that don't have a Yaks plugin (Cursor, GitHub Copilot, Gemini CLI, Windsurf, Aider, etc.), the CLI is the integration point — see Configuring your AI assistant below.
Quick start
Initialize task tracking in any project, from a terminal or via your agent:
yaks init
This creates a .yaks/ directory with hairy/, shaving/, and shorn/ subdirectories, plus a config.yaml. It also appends a workflow mandate to CLAUDE.md or AGENTS.md (defaults to AGENTS.md; use --agents to force it even when a CLAUDE.md exists).
From there your coding assistant creates and manages tasks by calling the yaks CLI:
yaks create --title "Add retry logic to API client" --type feature --priority 1
yaks list
yaks next
yaks shave yak-a1b2
yaks shorn yak-a1b2
Agents drive these through shell/Bash tool access — there are no editor-specific slash commands to learn.
How it works
- Status is a directory. A task in
.yaks/hairy/needs shaving. Move it to.yaks/shaving/and it's in progress. Move it to.yaks/shorn/and it's done. No status field in the YAML — the filesystem is the source of truth. - Tasks are markdown with frontmatter. Every task is a single
.mdfile. Structured metadata (ID, title, type, priority, timestamps, dependencies, labels) lives in YAML frontmatter. The markdown body is the description. - Parent/child tasks. Create subtasks with
--parent TASK_ID. Children get dot-suffixed IDs (yak-a1b2.1,yak-a1b2.2). The relationship is implicit from the ID — no extra YAML field.showdisplays the hierarchy automatically. - Dependencies are first-class. Tasks can depend on other tasks.
yaks nextshows only tasks whose dependencies are all shorn.yaks tangledshows what's stuck. - Artifacts. Attach files or clipboard images to tasks with
attach. They're stored in.yaks/artifacts/{task-id}/and linked from the task body. - Git-friendly. Task files are small, human-readable, and merge cleanly. Git history is your audit log.
- Local or team. Commit
.yaks/to share tasks with collaborators (team mode), or gitignore it for a private local-only scratchpad. In local-only mode, keep yak files — and their IDs — out of commits, PRs, and external trackers; the skill spells out the distinction so your agent doesn't leak private planning notes.
Commands
| Command | Description |
|---|---|
yaks init |
Initialize .yaks/ in the current project |
yaks create |
Create a new task |
yaks list |
List tasks with optional filters |
yaks show |
Show full details of a task |
yaks update |
Update a task's fields |
yaks shave |
Start shaving a yak |
yaks shorn |
Mark a yak as shorn |
yaks regrow |
Regrow a shorn yak |
yaks slaughter |
Slaughter a yak (move to hidden dead/ state) |
yaks revive |
Revive a dead yak back to hairy |
yaks next |
Show yaks ready to shave (all deps met) |
yaks tangled |
Show tangled yaks (unshorn dependencies) |
yaks search |
Search tasks by keyword |
yaks dep |
Add or remove dependencies between tasks |
yaks reparent |
Move a task to a new parent or promote to top-level |
yaks stats |
Show task statistics |
yaks attach / yaks detach |
Attach or remove file/image artifacts on a task |
yaks import-beads |
Import tasks from a beads JSONL export |
Every command accepts --json where applicable for machine-readable output.
Filtering
All query commands (list, search, next, tangled) share the same filter flags. Filters AND across dimensions; within a repeatable flag, values are OR'd:
--status S— filter by status (repeatable):hairy,shaving,shorn,dead--type T— filter by type (repeatable):bug,feature,task,idea--priority P— filter by priority (repeatable):1,2,3--label L— match any listed label (repeatable)--search Q— substring match on title, description, or id--ready— only tasks whose dependencies are all resolved--tangled— only tasks with at least one unresolved dependency--parent-of ID— only descendants of a given task
Examples:
yaks list --type bug --type feature --priority 1
yaks list --label auth --search retry
yaks next --type bug
TUI
Yaks includes a curses-based terminal UI for interactive task management:
yaks tui
The TUI provides:
- Tab-based status views — switch between hairy, shaving, and shorn tabs
- Tree display — parent/child tasks rendered as a collapsible tree
- Detail pane — full task view with rendered markdown, metadata, dependencies, and artifacts
- Inline mutations — change status, priority, type, title, labels, and dependencies without leaving the TUI
- Filter drawer — drop-down filter panel (press
/for search,ffor full filter) with live preview as you type - Help overlay — press
?for a full keybinding reference - Vim-style editing — optional vim keybindings in all text inputs (see Configuration below)
Task format
Tasks are .md files with YAML frontmatter for metadata. The markdown body is the description.
---
id: yak-a1b2
title: Fix the login crash
type: bug
priority: 2
created: "2026-02-16T10:00:00Z"
updated: "2026-02-16T10:30:00Z"
depends_on:
- yak-c3d4
labels:
- auth
source: https://jira.example.com/browse/PROJ-123
---
Users see a crash on the login screen when
submitting with an empty password field.
Frontmatter fields:
- id — Auto-generated as
{prefix}-{4 hex chars}(prefix from config), or{parent-id}.Nfor child tasks - title — Short description of the task
- type —
bug,feature,task, oridea - priority —
1(highest) through3(lowest) - created / updated — ISO 8601 timestamps
- depends_on — Optional list of task IDs that must be shorn first
- labels — Optional list of string tags
- source — Optional URL linking to an external issue (Jira, GitHub Issues, Linear, etc.). Many yaks can roll up to one external issue;
yaks rollupgroups them, and a yak with nosource:inherits its nearest ancestor's.
Configuration
Yaks reads configuration from two levels, with per-project values overriding user-global ones:
- User-global —
~/.config/yaks/config.yaml(created byyaks initif it doesn't exist) - Per-project —
.yaks/config.yaml
Available settings:
| Key | Default | Description |
|---|---|---|
prefix |
directory name | ID prefix for new tasks (e.g., api → api-f3a1) |
vim_mode |
false |
Vim-style insert/normal mode editing in TUI text inputs |
Configuring your AI assistant to use Yaks
yaks init automatically appends a workflow mandate to your project's AGENTS.md (or an existing CLAUDE.md). Use --agents to force writing to AGENTS.md even when a CLAUDE.md is present.
AGENTS.md is the most portable choice — it's recognized by Claude Code, OpenAI Codex, GitHub Copilot, Gemini CLI, Zed, Cursor, Windsurf, and Aider without any extra configuration.
If you already have .yaks/ set up and want to add the mandate manually, add this block to your context file:
## Task tracking
This project uses Yaks. The Yaks skill has the full workflow.
1. Never start coding without a shaving yak. No exceptions.
2. Shear a yak as soon as its work is done. If the project commits its yaks (`.yaks/` is tracked by git), commit the shorn yak alongside the code that completed it; if `.yaks/` is gitignored, keep yak files — and their IDs — out of commits, PRs, and anything external.
3. Check existing yaks before creating new ones.
4. Append progress notes to yak descriptions as you work.
5. When unsure what's next, run `yaks next` — don't freelance.
Platform-specific context files
For agents that have their own context file convention, you can also create platform-specific files. Each file should contain the mandate above plus a note that the yaks CLI is available:
| Platform | File | Notes |
|---|---|---|
| Claude Code | CLAUDE.md |
Plugin handles skill injection automatically |
| OpenAI Codex | AGENTS.md |
Plugin handles skill injection automatically |
| GitHub Copilot | .github/copilot-instructions.md |
Highest-priority slot for Copilot |
| Gemini CLI | GEMINI.md |
Also read by Zed as a fallback |
| Cursor | .cursor/rules/yaks.mdc |
Use alwaysApply: true in frontmatter |
| Windsurf | .windsurfrules |
|
| Zed | AGENTS.md or install the skill |
Skill gives richer activation; see Install |
For Claude Code and Codex, the skill activates automatically when .yaks/ exists and carries the full workflow details, command reference, and task format documentation. The mandate block above is what ensures your assistant actually follows the workflow.
Requirements
- Python 3.10+
- PyYAML (
pyyaml>=6.0) and prompt-toolkit (prompt-toolkit>=3.0.52, for the TUI)
Installing via uv tool install yakherder (or running uvx yakherder) pulls these in automatically into an isolated environment — nothing is added to your system or project Python.
License
Apache 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yakherder-0.1.79.tar.gz.
File metadata
- Download URL: yakherder-0.1.79.tar.gz
- Upload date:
- Size: 90.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bc5c9437becb8347d84b276fe135dc49fc627a91ce3b145610cb1a5aad955c8
|
|
| MD5 |
6a8b672f601459b797e2fb5550422c80
|
|
| BLAKE2b-256 |
1c44bb7d25d4361947c9ce8e0b949d113a337cd33744a4d2e76ac76a294bd22b
|
File details
Details for the file yakherder-0.1.79-py3-none-any.whl.
File metadata
- Download URL: yakherder-0.1.79-py3-none-any.whl
- Upload date:
- Size: 84.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c0ac950cba01337793741b4b200f4f565b310871e6a94a9121a4e57cf70f518
|
|
| MD5 |
4e9d4744f96f6e099bf802afd96da566
|
|
| BLAKE2b-256 |
878273dabc7630f179b0f708a8e60d9b86324124b4435fa67893a0d4f57f54b7
|