Skip to content

peakweb-team/superagents

 
 

Repository files navigation

Superagents

A practical execution layer built on top of the agency-agents roster.

Superagents keeps the broad specialist-agent library and adds a project-aware skills system so teams can run repeatable delivery workflows inside real repositories.

Architecture

superagents architecture diagram — operator connects remotely to a devcontainer running Claude Code with the superagents skills layer, which orchestrates work against the project repo via GitHub, Vercel, and S3 integrations

What This Repository Is For

Superagents is focused on software-delivery execution, not just persona prompts:

  • install a reusable base roster of specialists
  • compose repo-specific skills from modular fragments
  • run delivery workflows with explicit planning, implementation, review, and validation behavior
  • keep generated repo-local skills versioned with your codebase

Feature Highlights

1. Superpowers + Agency-Agents (Workflow + Specialist Breadth)

Superagents combines two strengths:

  • workflow discipline inspired by superpowers
  • broad persona coverage inherited from agency-agents

That combination lets teams keep structured execution while still selecting domain-specific specialists.

2. Custom Skills For Your Use Cases

The superagents-skill-builder flow inventories a target repository, asks only missing workflow questions, and assembles project-local skills from fragments.

Generated outputs live in your repo:

  • .claude/skills/superagents/ (execution-facing skills)
  • .agency/skills/superagents/ (builder metadata, decisions, and review context)

3. Model Routing

Superagents fragments include runtime guidance for choosing the right model strength for the task, instead of defaulting every step to the most expensive path.

See: docs/runtime-context-budgeting-and-repo-reading.md

4. Token Conservation

The framework emphasizes bounded context loading, scoped reads, and targeted orchestration so large-repo workflows stay efficient.

5. Parallel Work Across Multiple Issues/Teams

Superagents supports isolated execution with git worktree, enabling multiple issue streams to run in parallel without branch collisions.

6. Repo-Local Precedence (Deterministic)

Repo-local generated Superagents skills are authoritative in that repository, while user-level installed skills remain reusable defaults and source material.

Worktree isolation is intended to be configurable per repository, with optional per-task override, not a forced always-on behavior. The generated workflow should support:

  • off (default compatibility mode)
  • manual (operator-managed worktree steps)
  • auto (deterministic task-scoped worktree reuse/creation)

For a step-by-step usage runbook and deterministic precedence rules, see docs/builder-usage-and-repo-local-precedence-contract.md.

See: docs/builder-usage-and-repo-local-precedence-contract.md

7. Multi-Tool Installation

The project includes conversion/install scripts and integration outputs for multiple coding-assistant tools.

Supported install targets include:

  • claude-code
  • copilot
  • antigravity
  • gemini-cli
  • opencode
  • openclaw
  • cursor
  • aider
  • windsurf
  • qwen
  • kimi

8. Federated Multi-Repo Workspace Manifest

Superagents supports a federated workspace contract for coordinating multiple repositories across different language/toolchain stacks, plus an optional cross-repo feature graph for shared delivery work.

Validate a manifest:

./scripts/validate-workspace-manifest.sh superagents.workspace.yaml

Query cross-repo feature rollups:

./scripts/query-workspace-feature-graph.sh superagents.workspace.yaml --feature-id crosschain-wallet-v2

Query repo-level rollups:

./scripts/query-workspace-feature-graph.sh superagents.workspace.yaml --view repo --repo-id web-console

Query GitHub integration mapping rollups (feature + repo-local issue/project links):

./scripts/query-workspace-feature-graph.sh superagents.workspace.yaml --view integration --feature-id crosschain-wallet-v2

Query deterministic execution order for a feature graph:

./scripts/query-workspace-feature-graph.sh superagents.workspace.yaml --view execution-order --feature-id crosschain-wallet-v2

Query per-task dependency gate states (blocked, ready, running, waiting_on_signal) with readiness details:

./scripts/query-workspace-feature-graph.sh superagents.workspace.yaml --view gate-status --feature-id crosschain-wallet-v2

Query per-repo policy plugin resolution/evaluation for heterogeneous toolchains:

./scripts/query-workspace-feature-graph.sh superagents.workspace.yaml --view policy --feature-id crosschain-wallet-v2

Policy evaluation output includes deterministic plugin resolution (policy_refs first, then toolchain fallback), per-phase contract commands (preflight, build, test, publish), and clear repo/task-scoped violations.

How Superagents Relates To Superpowers

What Is Shared

  • strong workflow discipline (plan before execute, explicit review/verification stages)
  • emphasis on reliable, repeatable software-delivery behavior
  • practical use of work isolation and operational guardrails

What Is Different

  • Superagents is built around a builder-generated, repo-specific skills layer
  • Superagents keeps a large specialist persona roster from agency-agents
  • Superagents aims for adaptive team sizing and orchestration, not one fixed execution style
  • Superagents treats generated skills as repo-versioned artifacts with deterministic precedence

Reference: docs/superpowers-review.md

Usage

1. Install The Base Package

From this repo:

./scripts/install.sh --tool claude-code

This installs:

  • agents to ~/.claude/agents/
  • builder source bundle to ~/.claude/skills/superagents-skill-builder/
  • devcontainer bootstrap bundle to ~/.claude/skills/superagents-devcontainer-bootstrap/

2. Create Skills For A Specific Repository

In your target project:

cd /path/to/target-repo

Then invoke superagents-skill-builder in your coding assistant.

Example invocation:

  • type /superagents-skill-builder, or select superagents-skill-builder from your assistant skill menu
  • prompt: Generate Superagents project-local skills for this repository

Expected generated roots:

  • .claude/skills/superagents/
  • .agency/skills/superagents/

Review and commit both roots together.

Full contract: docs/builder-usage-and-repo-local-precedence-contract.md

2b. Bootstrap An Isolated Devcontainer (Optional)

If your account constraints require --dangerously-skip-permissions, run the superagents-devcontainer-bootstrap skill to scaffold an Anthropic-based .devcontainer/ and user-level Superagents install hooks inside the container.

Installed skill bundle:

  • ~/.claude/skills/superagents-devcontainer-bootstrap/SKILL.md
  • ~/.claude/skills/superagents-devcontainer-bootstrap/templates/*

Reference docs:

Host secret onboarding (recommended before first container reopen):

  1. Create a GitHub fine-grained token (https://github.com/settings/tokens) with at least:
    • Contents: read/write
    • Pull requests: read/write
    • Metadata: read
    • Workflows: read/write (if needed)
  2. Export host env vars in your shell startup file (~/.zshrc or ~/.zshenv), for example:
export GH_TOKEN=ghp_xxx
export ANTHROPIC_API_KEY=...
export VERCEL_TOKEN=...

The scaffolded devcontainer forwards these via ${localEnv:...} so secrets stay host-managed and gh can work in-container without repeated interactive login.

2c. Dogfood Superagents In This Source Repository (Optional)

If you are developing Superagents and dogfooding it at the same time, use a two-workspace setup (source + sandbox) to avoid recursive edits and runtime artifact pollution.

Quick reference:

3. Use Skills Day-To-Day

Typical loop:

  1. Activate the repo-local Superagents skill before starting issue work. Example: select the generated skill from your assistant skill list (under .claude/skills/superagents/) or invoke it by command if your assistant supports slash-commands. What to expect: the skill frames intake inputs (issue/brief), constraints, and required context.
  2. Start implementation from the target repo with a concrete task prompt. Example prompt: Implement issue #123 in this repository using the active Superagents workflow. What to expect: a scoped plan, execution steps, and explicit handoffs between implementation and review.
  3. Run review and validation as separate completion gates. Example prompt: Run Superagents review and validation for the current branch and summarize any blockers. What to expect: a findings list, validation evidence, and a clear pass/fail recommendation for merge.
  4. Regenerate and commit skills when workflow/tooling assumptions change. Example trigger: switching task systems, review tooling, or orchestration strategy. What to expect: updates in .claude/skills/superagents/ and .agency/skills/superagents/ that should be reviewed and committed together.

4. Run Multiple Workstreams In Parallel (Worktrees)

Superagents is worktree-first by default. For each issue/ticket, the system should automatically:

  1. create or reuse a dedicated local worktree for that ticket
  2. create/switch to the ticket branch inside that worktree
  3. keep concurrent tickets isolated so file and branch state cannot collide

The intent is zero manual setup for normal operation.

Manual git worktree commands are low-level equivalents (useful for debugging or recovery), for example:

git worktree add ../repo-issue-101 -b feat/issue-101 origin/HEAD
git worktree add ../repo-issue-102 -b feat/issue-102 origin/HEAD

Use one worktree per issue/team stream to keep execution isolated.

Repository Layout

  • agents/: source specialist roster by domain/division
  • skills/: builder and reusable fragment source
  • docs/: contracts, architecture, and delivery guidance
  • examples/: generated-skill references and workflow examples
  • integrations/: generated integration outputs for supported tools
  • scripts/: conversion/install scripts

Runtime Policy

Automation scripts must use a single non-shell runtime across the repository (shell scripts are exempt).

Validate locally:

./scripts/enforce-single-runtime.sh

Key Documents

Other Integrations

Regenerate integration outputs:

./scripts/convert.sh

Install interactively for detected tools:

./scripts/install.sh

Releases

Superagents is published as semver-tagged GitHub releases. Each release attaches a machine-readable release.json artifact (semver scope, contract/schema versions, regeneration posture) so downstream upgrade tooling can decide whether a project's generated bundle is still compatible. See docs/release-process.md for tag naming, the release-note template, and the exact maintainer command sequence.

Contributing

See CONTRIBUTING.md.

License

MIT

About

Agency Agents with a skill builder package

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 70.6%
  • Ruby 27.6%
  • Dockerfile 1.2%
  • PowerShell 0.6%