npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@lythos/skill-deck

v0.7.2

Published

Declarative skill deck governance — cold pool, working set, deny-by-default

Readme

@lythos/skill-deck

Declarative skill deck governance. Reconcile declared skills against your cold pool via symlinks — deny-by-default, max-cards budgeting, transient expiry.

For AI Agents

This package exposes a CLI. Invoke via:

bunx @lythos/skill-deck <command> [options]

No installation required. bunx auto-downloads the package.

skill-deck.toml (minimal)

[deck]
max_cards = 10

[tool]
skills = ["github.com/lythos-labs/lythoskill/skills/lythoskill-deck"]

skill-deck.toml (full reference)

[deck]
max_cards = 10              # Hard limit on total skills
working_set = ".claude/skills"      # Where symlinks are created
cold_pool = "~/.agents/skill-repos" # Where skills are downloaded

[innate]                    # Always-loaded skills
skills = ["github.com/lythos-labs/lythoskill/skills/lythoskill-deck"]

[tool]                      # Auto-triggered skills
skills = [
  "github.com/mattpocock/skills/skills/engineering/tdd",
  "github.com/garrytan/gstack",
]

[combo]                     # Multi-skill bundles
skills = ["github.com/anthropics/skills/skills/pdf"]

[transient]                 # Temporary skills with expiry
  [transient.handoff]
  path = "./skills/handoff" # Local path (not cold pool)
  expires = "2026-05-01"    # ISO date; warns at ≤14 days

When to invoke

| Situation | Command | |-----------|---------| | Sync working set with skill-deck.toml | bunx @lythos/skill-deck link | | Validate skill-deck.toml before committing | bunx @lythos/skill-deck validate | | Download a skill to cold pool and add to deck | bunx @lythos/skill-deck add owner/repo | | Pull latest versions of declared skills | bunx @lythos/skill-deck update | | Use a custom deck file or working dir | bunx @lythos/skill-deck link --deck ./my-deck.toml --workdir /path/to/project |

Commands

| Command | Args | Description | |---------|------|-------------| | link | [--deck <path>] [--workdir <dir>] | Sync working set. Removes undeclared skills (deny-by-default). | | validate | [deck.toml] [--workdir <dir>] | Validate deck config without modifying files. | | add | <locator> [--via <backend>] [--deck <path>] | Download skill to cold pool and append to skill-deck.toml. | | update | [--deck <path>] | Pull latest versions of declared skills from upstream git repos. |

Options

| Flag | Description | Default | |------|-------------|---------| | --deck <path> | Path to skill-deck.toml | Find upward from cwd | | --workdir <dir> | Working directory | cwd | | --via <backend> | Download backend for add: git or skills.sh | git |

Safety guards

link refuses to operate if working_set resolves to your home directory or root (/). It also only removes symlinks from the working set — real files or directories are skipped with a warning.

Exit codes

| Code | Meaning | |------|---------| | 0 | Success | | 1 | Validation failed, deck not found, or budget exceeded |


For Humans

Why

When an AI agent has access to 50+ skills, context window pollution and silent conflicts become real problems. Two skills claiming the same niche, redundant descriptions, incompatible assumptions — all invisible until the agent hallucinates.

skill-deck.toml solves this by declaring exactly which skills the agent should see. deck link creates symlinks from the cold pool to .claude/skills/ and removes everything else. Deny-by-default means undeclared skills physically do not exist in the agent's view.

Quick Start

# 1. Create a skill-deck.toml
cat > skill-deck.toml << 'EOF'
[deck]
max_cards = 10

[tool]
skills = ["github.com/lythos-labs/lythoskill/skills/lythoskill-deck"]
EOF

# 2. Link — creates symlinks in .claude/skills/
bunx @lythos/skill-deck link

Key Concepts

| Concept | One-liner | |---------|-----------| | Cold Pool | All downloaded skills (~/.agents/skill-repos/). Agent cannot see here. | | skill-deck.toml | Declares desired state: "this project uses these skills." | | deck link | Reconciler. Makes the working set match the declaration. | | Working Set | Symlinks only. Default: .claude/skills/ — where agents scan for skills. | | deny-by-default | Undeclared skills are physically absent from the working set. |

Agent skill scan locations

Different agents look for skills in different directories. skill-deck.toml configures the working set to match your agent:

| Agent | Default skills directory | |-------|--------------------------| | Claude Code | .claude/skills/ | | Cursor | .cursor/skills/ | | Generic / custom | Configure working_set in skill-deck.toml |

If you are an agent: verify where your platform scans for skills, then set working_set to that path before running deck link.

Troubleshooting

| Symptom | Cause | Fix | |---------|-------|-----| | ❌ Skill not found: <name> | Skill declared in deck but not in cold pool | bunx @lythos/skill-deck add github.com/owner/repo/skill or clone manually into cold pool | | link skips entries with warnings | Real files/directories exist in working set (not symlinks) | Delete the real directories in working_set and re-run link. Never create directories manually there | | update reports "Not a git repository" | Skill was copied (not cloned) into cold pool | Re-clone with git clone or use deck add which clones by default | | link refuses with "budget exceeded" | Declared skills > max_cards | Increase max_cards in skill-deck.toml or remove unused skills | | link refuses with "unsafe working_set" | working_set resolves to ~ or / | Check skill-deck.toml has correct relative path (e.g. .claude/skills/) | | Agent doesn't see skills after link | working_set path doesn't match agent's scan location | Claude Code: .claude/skills/; Cursor: .cursor/skills/; Kimi: check your platform docs. Set working_set correctly | | Broken symlinks in working set | Skill moved or deleted from cold pool | Re-run link — it recreates symlinks automatically | | deck add fails with 404 | Locator format wrong or repo doesn't exist | Format: github.com/owner/repo/skill-name (path to skill directory inside repo) | | skill-deck.toml not found | Running link outside project tree | Run from project root, or use --deck ./path/to/skill-deck.toml |

More Documentation

License

MIT