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

swe-pro-agents

v1.2.3

Published

49 specialized OpenCode subagent profiles + 8 delivery pipeline skills — SWE roles, research, architecture, and code analysis agents

Readme

SWE Pro Agents

npm version npm downloads license agents skills

49 production-grade OpenCode subagent profiles + 8 skills — deploy a full engineering team in your terminal.


Table of Contents


Why This Exists

Most AI coding assistants start blank. No domain expertise, no engineering discipline, no architectural judgment — just a raw model and your prompt. Every session is ground zero.

SWE Pro Agents fixes that. Each agent is a loaded expert — a complete system prompt with tool permissions, behavioral rules, error handling patterns, and engineering conventions baked in. You don't ask a model to "review this PR." You invoke swe-reviewer — an agent that already knows how to assess blast radius, flag security issues, and enforce your team's standards.

What you get:

  • Consistency — every agent produces disciplined output, not random good intentions
  • Depth — agents carry domain knowledge that would take paragraphs to prompt each time
  • Team structure — 49 specialized roles that divide and conquer, not one monolithic chat

Install

npm install -g swe-pro-agents

This copies all 49 agent profiles to ~/.config/opencode/agents/swe-pro-agents/, all 8 skills to ~/.config/opencode/skills/, and this pack's AGENTS.md to ~/.config/opencode/agents/swe-pro-agents/AGENTS.md.

That last file matters: every agent in agents/ is intentionally short because it assumes AGENTS.md's Constitution, Definition of Done, and Handoff protocol are already loaded into context. If you don't already have a global ~/.config/opencode/AGENTS.md, copy the installed one into place:

cp ~/.config/opencode/agents/swe-pro-agents/AGENTS.md ~/.config/opencode/AGENTS.md

If you already have one, merge in whatever sections you want rather than overwriting your existing rules — the installer never does this for you automatically, on purpose. swe-pro-agents status tells you which state you're in.

Then register the agents with OpenCode by adding to your opencode.json:

{
  "agents": [{ "path": "~/.config/opencode/agents/swe-pro-agents" }]
}

That's it. Restart OpenCode and your entire agent team is ready.


Quick Start

# Check your installation
swe-pro-agents status

# See the config snippet (if you skipped the step above)
swe-pro-agents setup

Once installed, invoke any agent from within OpenCode:

@ swe-pro   Plan and implement a rate limiter middleware
@ swe-database  Design the schema for a multi-tenant SaaS app
@ swe-reviewer   Review the last commit for security issues

Agents

The team is organized into four squads. Each agent has a focused role, explicit tool permissions, and a curated system prompt optimized for that specific job.

🛠️ SWE Agents — Engineering Core

| Agent | Role | |---|---| | swe-api | API contract design, request/response validation, versioning strategy | | swe-backend | Server-side logic, services, background jobs, integrations | | swe-cli | CLI tooling — argument parsing, subcommands, exit codes, output formatting | | swe-database | Schema design, migrations, query optimization, indexing | | swe-debugger | Root-cause analysis through reproduction, then minimal correct fix | | swe-desktop | Desktop apps — windowing, OS APIs, native packaging | | swe-devops | CI/CD pipelines, containers, infrastructure-as-code | | swe-documentation | READMEs, docstrings, API references, developer guides | | swe-frontend | Components, views, styling, state, animation, client interaction | | swe-fullstack | End-to-end features keeping frontend and backend in sync | | swe-git | Branch management, commit hygiene, rebase, PR preparation | | swe-implementation | General-purpose implementation for well-defined tasks | | swe-mobile | Mobile screens, navigation, platform APIs, on-device perf | | swe-opensource | Licensing, attribution, contribution guidelines, dependency audits | | swe-performance | Profiling, memory optimization, latency reduction — measured, not guessed | | swe-planner | Breaking features into ordered implementation plans with risks and file targets | | swe-pro | Senior engineer — architecture decisions, code review, mentoring | | swe-refactor | Restructuring code for clarity and maintainability without behavior change | | swe-release | Versioning, changelogs, publishing — cutting clean releases | | swe-repository | Mapping unfamiliar codebases — structure, conventions, build commands | | swe-reviewer | Read-only code review — correctness, risk, standards enforcement | | swe-security | Vulnerability auditing, threat modeling, unsafe pattern detection | | swe-testing | Unit, integration, and e2e tests — coverage analysis, flakiness detection |

🔬 Research Agents

| Agent | Role | |---|---| | researcher | Deep investigation on complex technical topics | | web-researcher | Real-time web research for current information | | report-generator | Structured report creation from findings |

🔍 Code Analysis Agents

| Agent | Role | |---|---| | codebase-searcher | Fast file and pattern matching across the codebase | | context-analyzer | Deep context extraction and code understanding | | dependency-investigator | Dependency graph analysis and risk assessment | | documentation-reader | Automated documentation parsing and extraction | | evidence-verifier | Cross-referencing claims against source of truth | | experiment-runner | Controlled experiment design and execution | | git-history-analyst | Git log forensics and change pattern analysis | | issue-discussion-analyst | Issue triage and discussion pattern extraction | | repo-investigator | Full repository structure mapping |

🏗️ Architecture Agents

| Agent | Role | |---|---| | architect | System design — trade-offs, constraints, decisions | | arch-api-design | REST/GraphQL contract design, breaking change detection | | arch-architecture-review | Holistic architecture assessment and risk analysis | | arch-database-design | Schema design, data modeling, normalization trade-offs | | arch-design-patterns | Pattern selection and application guidance | | arch-distributed-systems | Consistency, partitioning, consensus, failure modes | | arch-migration | Incremental migration planning with rollback strategies | | arch-rfc | RFC authoring with structured decision records | | arch-scalability | Load analysis, bottleneck identification, scaling strategy | | arch-solution-design | End-to-end solution design with explicit trade-off documentation | | arch-system-design | High-level system architecture and component interaction | | arch-tech-debt | Debt identification, prioritization, and remediation planning | | arch-technical-strategy | Long-term technology roadmap and decision framework | | architecture-mapper | Architecture diagram generation and system visualization |


Skills

Beyond agents, SWE Pro Agents ships 8 skills — a staged engineering pipeline plus a token-compression mode, each loadable on demand via OpenCode's skill tool. Each skill is a focused SKILL.md with its own instructions:

swe-pipeline (entry point)
    |
  repository        -- get oriented before touching anything
    |
  planner (optional) -- skip for small, well-understood tasks
    |
  specialists        -- do the actual implementation work
    |
  reviewer           -- read-only check of the diff
    |
  testing            -- write/run tests, confirm the change holds
    |
  return             -- one consolidated report back to the user

Skills auto-install to ~/.config/opencode/skills/ and are picked up by OpenCode automatically — no config needed. Just start working and OpenCode's skill tool offers swe-pipeline and caveman when relevant.

| Skill | Stage | Purpose | |---|---|---| | swe-pipeline | Entry | Maps the task through all stages | | repository | Orientation | Read-only codebase map before any change | | planner | Planning | Ordered implementation plan (optional) | | specialists | Implementation | Routes work by domain (backend/frontend/general) | | reviewer | Review | Read-only diff review | | testing | Testing | Write + run tests, report real results | | pipeline-return | Return | One consolidated report to the user | | caveman | Communication | Ultra-compressed mode, cuts output tokens ~65% |

Agents vs. skills — which one am I actually using?

These are two independent ways to use this pack, not two halves of one system — pick based on how you want to work, not both at once for the same task:

  • Invoke an agent directly (@swe-frontend, @swe-backend, …) when you know exactly which specialist you want and just need it to do that one job. Agents are lean by design: they assume this repo's root AGENTS.md is already loaded into context (OpenCode does this automatically), and they only state what's specific to their domain — everything else (the Constitution, Definition of Done, Handoff protocol) lives in AGENTS.md once, not repeated 49 times. Their behavior depends on AGENTS.md being installed — see Install if swe-pro-agents status reports it as missing.
  • Invoke swe-pipeline when you want the whole stage sequence run for you — orientation, optional planning, implementation, review, and testing — without picking a specialist agent yourself. Its specialists stage routes to a domain reference (references/backend.md, references/frontend.md, references/general.md) that's deliberately self-contained rather than depending on AGENTS.md, because a skill can be invoked by any agent in any project — including ones that don't have this pack's AGENTS.md installed at all. That's why specialists/SKILL.md restates a few principles (read before you write, match conventions, minimize blast radius) that also live in AGENTS.md — it's not drift, it's the skill working correctly without an external dependency.

If you're not sure which to reach for: a single, well-scoped implementation task with a clear owner → an agent. A task where you want repo orientation, review, and testing handled for you too → swe-pipeline. Don't run both for the same task — that's redundant effort, not extra rigor.


These agents are designed to chain together. Here are real workflows:

Feature Delivery

swe-planner → swe-implementation → swe-testing → swe-reviewer

Plan the work, implement, write tests, get reviewed. No context lost between steps.

Bug Investigation

swe-debugger → swe-security → swe-refactor

Find the root cause, check for similar vulnerabilities, clean up the code.

Architecture Change

architect → arch-migration → swe-database → swe-fullstack

Design the new architecture, plan the migration, update the schema, wire the full stack.

Production Incident

swe-debugger → swe-performance → swe-devops

Diagnose the issue, profile the bottleneck, deploy the fix.


Updating

Agents are actively improved — new roles added, prompts refined, permissions tuned.

npm update -g swe-pro-agents

Check what changed:

swe-pro-agents status

Agent Philosophy

Every agent in this collection follows a set of engineering principles:

  1. Read before you write. Never assume file contents or API contracts — verify first.
  2. Small, verifiable steps. Make a change, confirm it, move on.
  3. Match existing conventions. A new pattern needs a stated reason, not a preference.
  4. Minimize blast radius. The smallest change that correctly solves the task.
  5. Errors are first-class. Happy-path-only isn't finished.
  6. Leave it better. No dead code, no debug leftovers, no unexplained TODOs.
  7. Say what you did and why. Clear communication, not padding.

These aren't suggestions. They're baked into every agent prompt.


License

MIT — use it, fork it, ship it.