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

@anuragsarkar97/ai-agent-skills

v0.2.17

Published

Portable skills repository for AI coding agents such as Codex and Claude.

Readme

AI Agent Skills

Portable, installable skills for AI coding agents such as Codex and Claude.

npm version npm downloads license

| npm package | Install | |---|---| | @anuragsarkar97/ai-agent-skills | npx -y @anuragsarkar97/ai-agent-skills@latest install --agent codex --write --force |

This repository gives agents reusable operating modes for review, planning, implementation, testing, product thinking, communication, reliability, observability, and stack-specific engineering judgment. Skills are intentionally small. Deeper guidance lives in curated knowledge packs that agents load only when needed.

Install

Install everything into Codex:

npx -y @anuragsarkar97/ai-agent-skills@latest install --agent codex --write --force

Install everything into Claude:

npx -y @anuragsarkar97/ai-agent-skills@latest install --agent claude --write --force

That single command copies all skills plus shared _knowledge/ into the agent skill directory.

Use

After installing, ask the agent normally. The router skill helps the agent select the right skill without you naming it every time.

Examples:

Review this API design for production readiness.
Grill this migration before I merge it.
Draft a firm but respectful Slack message explaining why we should narrow this scope.
Design the tables, indexes, constraints, and migration plan for organization invitations.
Production checkout is returning 500s after the last deploy. Triage whether we should rollback or hotfix.
I want to upskill myself in Kubernetes; find recent blogs, papers, docs, and videos and make me a 30-day plan.
/remember I need to send email to product manager at 10 pm tonight
Search our prior decisions before changing payment retry behavior.
Review this webhook endpoint for authorization, replay, and secret-exposure risks.

For explicit testing, name a skill:

Use the critical-thinking skill to challenge this design before we implement it.
Use caveman mode: answer only what I directly ask and stop adding unrelated explanation.

What You Get

| Area | Skills | |---|---| | Routing and workflow | agent-skill-router, repository-map, implementation-plan | | Critical judgment | critical-thinking, wtf-check, oppenheimer-simplifier | | Product and communication | product-competitive-thinking, product-communication | | Learning and growth | upskilling-research | | Reliability and operations | incident-response, observability-design, security-review | | Personal productivity | macos-reminder | | Implementation writers | service-writer, api-writer, utility-writer, test-writer | | Review and quality | code-review, api-review, database-schema-design, design-principles-review, test-design-review, naming-review | | Documentation and delivery | code-documentation, commit-pr-writer | | Context and maintenance | decision-memory, caveman-mode, smriti-shruti, self-amending-skill |

Skill Highlights

  • agent-skill-router: chooses and combines skills proactively.
  • caveman-mode: keeps answers terse, directly relevant, and silent on unasked tangents.
  • critical-thinking: challenges weak designs and says no to anti-patterns.
  • wtf-check: interrupts human or AI drift, thrash, over-scoping, and context switching with a blunt reset question.
  • product-competitive-thinking: reviews work through product, startup, user, and competitor lenses.
  • product-communication: writes respectful but firm Slack, email, issue, PR, and stakeholder messages.
  • upskilling-research: finds fresh blogs, papers, docs, talks, courses, and videos and turns them into a learning path.
  • database-schema-design: designs tables, entities, migrations, indexes, constraints, and retention.
  • api-review: reviews API contracts, auth behavior, pagination, compatibility, and error shapes.
  • code-review: performs normal reviews and adversarial grills for risky production changes.
  • incident-response: triages outages, rollback/hotfix decisions, severity, handoff, and post-mortems.
  • repository-map: discovers repository stack, commands, entry points, operational files, file structure, and public symbols.
  • decision-memory: records and retrieves engineering decisions, rationale, rejected alternatives, and evidence.
  • security-review: finds exploitable security and privacy risks with concrete attack paths and fixes.
  • macos-reminder: schedules local macOS notification reminders from /remember style prompts.
  • observability-design: designs logs, metrics, traces, SLOs, dashboards, and alerts.
  • service-writer, api-writer, utility-writer, test-writer: keep implementation work split by responsibility.
  • smriti-shruti: reduces noisy context while preserving the facts needed for the current task.
  • self-amending-skill: improves the skill system safely from real usage evidence.

Knowledge Packs

Installed skills include shared _knowledge/ references. Agents load these only when the task calls for them, which keeps the active context lean.

| Knowledge Pack | Use For | |---|---| | architecture/principles.md | SOLID, YAGNI, dependency direction, service boundaries | | api/api-review.md | API contracts, auth, pagination, idempotency, errors | | database/schema-design.md | entities, constraints, indexes, migrations, retention | | communication/product-communication.md | Slack, email, feedback, conflict, decision messages | | incident-response/incident-response.md | severity, incident roles, rollback/hotfix, post-mortems | | observability/observability-design.md | golden signals, USE/RED, SLOs, logs, metrics, traces, alerts | | golang/go-engineering.md | Go services, APIs, contexts, errors, concurrency, tests | | react/react-engineering.md | React components, hooks, state, effects, accessibility, tests | | python/python-scripting.md | Python CLIs, filesystem work, subprocesses, logging, script tests | | kubernetes/kubernetes-operations.md | workloads, probes, resources, rollouts, RBAC, secrets | | cloud/aws-azure-architecture.md | AWS, Azure, EKS, AKS, managed services, identity, networking | | product/startup-pm.md | MVP scope, startup product bets, competitors, learning metrics | | security/security-review.md | auth, permissions, secrets, PII, tenant isolation, webhooks | | testing/testing-strategy.md | test levels, contract tests, regression coverage, false confidence |

Common Commands

List available skills:

npx -y @anuragsarkar97/ai-agent-skills@latest list

Run package validation:

npx -y @anuragsarkar97/ai-agent-skills@latest check

Search skills and knowledge:

npx -y @anuragsarkar97/ai-agent-skills@latest search "api auth pagination"

Print bootstrap instructions for an agent:

npx -y @anuragsarkar97/ai-agent-skills@latest bootstrap --agent claude

Generate repository-specific context:

npx -y @anuragsarkar97/ai-agent-skills@latest index-project --path .

Record or search an engineering decision:

npx -y @anuragsarkar97/ai-agent-skills@latest decision-memory add --path . \
  --title "Do not retry payment creation" \
  --decision "Payment creation is never retried automatically" \
  --rationale "Retries can create duplicate charges"

npx -y @anuragsarkar97/ai-agent-skills@latest decision-memory search --path . --query "payment retry"

Install selected skills:

npx -y @anuragsarkar97/ai-agent-skills@latest install --agent codex --skills agent-skill-router,critical-thinking --write --force

Install the frontend-focused local profile:

npx -y @anuragsarkar97/ai-agent-skills@latest install --agent claude --profile frontend --write --force

Install third-party frontend skills from a Git URL:

npx -y @anuragsarkar97/ai-agent-skills@latest install --agent claude --external [email protected]:org/agent-skills.git#skills/ux-pro --write --force

Install several additional third-party frontend skills from a manifest:

npx -y @anuragsarkar97/ai-agent-skills@latest install --agent claude --profile frontend --external-manifest examples/frontend-external-skills.json --write --force

Install as symlinks from a local clone:

npm run skills:install -- --agent codex --mode symlink --write --force

Install into a custom target:

npx -y @anuragsarkar97/ai-agent-skills@latest install --target /path/to/agent/skills --write --force

How It Works

Each skill is a folder under skills/<skill-name>/ with a canonical SKILL.md.

skills/<skill-name>/
├── SKILL.md
├── agents/
│   ├── openai.yaml
│   └── claude.md
├── references/
├── scripts/
└── assets/

The SKILL.md file defines the trigger, workflow, checks, and output shape. Agent-specific metadata lives under agents/. Detailed reusable guidance lives in shared knowledge/ and is installed as _knowledge/ beside the skills.

Local Development

Clone and validate:

git clone [email protected]:anuragsarkar97/skills.git
cd skills
npm test

Create a skill:

npm run skills:create -- my-new-skill --description "Use when an AI agent needs to..."

Then edit skills/my-new-skill/SKILL.md with concrete triggers, workflow, checks, and output shape.

Create from a stronger template:

npm run skills:create -- my-review-skill --template review --description "Use when..."
npm run skills:create -- my-writer-skill --template writer --description "Use when..."
npm run skills:create -- my-ops-skill --template ops --description "Use when..."
npm run skills:create -- my-knowledge-skill --template knowledge-backed --description "Use when..."

Build And Package

One command runs the full local packaging flow:

npm run skills:package-all

It runs validation, regenerates the catalog and graph, packages Claude bundles, and performs an npm pack dry run.

For a publishable release, bump the version as part of the same flow:

npm run skills:package-all -- --patch

Use --minor, --major, or --bump 1.2.3 when the release needs a different version change.

Create Claude-ready ZIP bundles:

npm run skills:package-claude

Create selected Claude bundles:

npm run skills:package-claude -- --skills agent-skill-router,critical-thinking

Create an npm tarball locally:

npm run skills:package-all -- --pack-tarball

Publish:

npm run skills:package-all -- --patch
npm publish --access public

Full release automation:

npm run skills:release -- --patch

The release script runs package-all with a version bump, writes the changelog, commits the release files, publishes to npm, tags the release, and pushes the branch and tag. Use --dry-run to test publish packaging without changing git or npm.

Maintenance Scripts

npm run skills:audit
npm run skills:bootstrap -- --agent claude
npm run skills:catalog
npm run skills:changelog
npm run skills:check
npm run skills:duplicates
npm run skills:evaluate
npm run skills:examples
npm run skills:graph
npm run skills:index-project
npm run skills:knowledge-index
npm run skills:marketplace-manifest
npm run skills:refresh-knowledge
npm run skills:repository-map -- --path .
npm run skills:search -- "go service tests"
npm run skills:verify-sources
  • skills:check runs validation, audit, prompt examples, evaluation hooks, and source checks.
  • skills:bootstrap prints copy-paste agent instructions for proactive skill routing.
  • skills:catalog writes skills/catalog.json.
  • skills:changelog generates changelog text from commits since the last tag.
  • skills:graph writes skills/graph.json and skills/graph.mmd.
  • skills:evaluate checks prompt coverage and shared knowledge hooks.
  • skills:knowledge-index writes knowledge/index.json from curated references.
  • skills:search searches skills and shared knowledge references.
  • skills:verify-sources verifies source metadata in knowledge references.
  • skills:refresh-knowledge writes a review queue for source refresh work.
  • skills:repository-map writes .skill-context/repo-map.md, using Git changes and content hashes for verified incremental regeneration.
  • skills:index-project writes .skill-context/project-context.json.

Skill Contract

Every skill must include:

  • A lowercase hyphenated directory name.
  • A SKILL.md file.
  • YAML frontmatter with only name and description.
  • A name value that matches the directory.
  • A description that clearly says what the skill does and when an agent should use it.

Keep SKILL.md concise. Move bulky examples, schemas, policies, framework-specific details, and source-backed guidance into shared knowledge references.

Repository Layout

.
├── agents/                 # Agent-specific usage notes
├── AGENTS.md               # Root instructions for Codex-style agents
├── CLAUDE.md               # Root instructions for Claude-style agents
├── bin/                    # npm CLI entrypoint
├── examples/               # Prompt examples for validation
├── knowledge/              # Shared curated references
├── profiles/               # Install profiles such as frontend
├── scripts/                # Maintenance, packaging, and validation scripts
├── skills/                 # Reusable skills
└── templates/              # Skill templates

Contribution Notes

  • Prefer small, focused skills over broad instruction dumps.
  • Add or update prompt examples when adding a skill.
  • Add source notes to every shared knowledge reference.
  • Run npm run skills:package-all before publishing or opening a large skill-system change.
  • Regenerate catalog and graph artifacts when inventory, metadata, or routing changes.