You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@namch/agent-assistant

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@namch/agent-assistant

Multi-agent orchestration framework for AI coding assistants (Cursor, Copilot, Antigravity, Claude Code).

npmnpm
Version
1.0.0
Version published
Weekly downloads
54
-83.07%
Maintainers
1
Weekly downloads
 
Created
Source
Agent Assistant Logo

Agent Assistant

Multi-agent orchestration for AI coding assistants

Transform one AI into a coordinated team of 20 specialist agents with structured workflows, quality gates, and 218+ domain skills.

License: MIT Node.js 18+ PRs Welcome npm version

Table of Contents

What is Agent Assistant?

Agent Assistant is an orchestration layer between you and your AI coding tool. Instead of one model doing everything, it transforms the AI into a multi-agent workflow:

┌──────────┐     ┌──────────────┐     ┌─────────────┐     ┌────────────┐     ┌──────────┐
│   You    │────▶│   Command    │────▶│ Orchestrator│────▶│ Specialist │────▶│  Output  │
│          │     │ /cook /fix   │     │             │     │   Agents   │     │          │
└──────────┘     └──────────────┘     └─────────────┘     └────────────┘     └──────────┘
                                             │                    │
                                             ▼                    ▼
                                      ┌─────────────┐     ┌────────────┐
                                      │    Rules    │     │   Skills   │
                                      │ (8 files)   │     │ (218+)     │
                                      └─────────────┘     └────────────┘

Key Components

ComponentCountPurpose
Specialist Agents20Domain experts (backend, frontend, security, tester, ...)
Command Workflows40+Development workflows (/cook, /fix, /plan, /deploy, ...)
Domain Skills218On-demand knowledge (React, APIs, databases, DevOps, ...)
Matrix Domains19Skill categories (backend, frontend, security, ...)
Quality Gates5Compile, lint, test, security, review
Rule Files8Orchestration protocols and laws

Why use it?

Without Agent AssistantWith Agent Assistant
One AI, one style, no gates20 experts + workflows + quality checks
Easy to miss tests/securityBuilt-in test, review, security flows
Inconsistent patternsShared rules, skills, and conventions
High token usage85% token cost reduction
Ad-hoc promptsStructured, repeatable workflows

Use Agent Assistant when you want structured, repeatable, production-oriented AI-assisted coding instead of ad-hoc prompts.

Measured Results

MetricImprovement
⏰ Time-to-Production70% faster
🐛 Bug Rate70% reduction
🔒 Security Issues70% reduction
💰 Token Cost85% savings

Supported Tools

ToolStatusIntegration
Claude Code (claude.ai/code)✅ Full SupportCLI → ~/.claude/
Cursor✅ Full SupportCLI → ~/.cursor/
GitHub Copilot (VS Code)✅ Full SupportCLI → ~/.copilot/ + VS Code
Antigravity / Gemini✅ Full SupportCLI → ~/.gemini/

Installation

Prerequisites

  • Node.js 18+
  • At least one supported AI tool
  • Install globally

    npm install -g @namch/agent-assistant
    
  • Install for your tool

    # Single tool
    agent-assistant install cursor
    agent-assistant install copilot
    agent-assistant install antigravity
    agent-assistant install claude
    
    # All supported tools
    agent-assistant install --all
    
  • Verify installation

    agent-assistant list
    

Option B: Clone and Install

git clone https://github.com/nals-ai/agent-assistant.git
cd agent-assistant
node cli/install.js install --all   # Installs for all tools globally

What Gets Installed

ComponentCursorCopilotClaude CodeAntigravity
Entry point~/.cursor/rules/VS Code prompts~/.claude/CLAUDE.md~/.gemini/GEMINI.md
Commands~/.cursor/commands/~/.copilot/commands/~/.claude/commands/workflows
Framework~/.cursor/skills/agent-assistant/~/.copilot/skills/agent-assistant/~/.claude/skills/agent-assistant/~/.gemini/antigravity/
Agents~/.cursor/agents/~/.copilot/agents/~/.claude/agents/~/.gemini/agents/
Skills~/.cursor/skills/~/.copilot/skills/~/.claude/skills/in framework

Quick Start

/docs:core       # Generate 5 core technical docs
/docs:business   # Generate 4 business docs

This creates files in ./documents/ that agents use when implementing features. Without these docs, agents work generically. With them, agents follow YOUR project's patterns.

2. Try Your First Commands

# Simple feature (2-3 agents, minimal gates)
/cook:fast "add dark mode toggle"

# Complex feature (5-8 agents, all quality gates)
/cook:hard "implement OAuth 2.0 authentication"

# Code review
/review "audit authentication module"

# Create implementation plan
/plan "build notification system"

# Debug an issue
/debug "payment fails on Safari"

# Generate tests
/test:hard "user registration flow"

3. Understand Variants

VariantWhen to UseWhat It Does
:fastSimple tasksQuick execution, 2-3 agents
:hardComplex featuresFull workflow, 5-8 agents, all quality gates

Commands

Development Commands

CommandDescriptionVariants
/cookImplement features:fast, :hard
/codeWrite code snippets:fast, :hard
/fixFix bugs and refactor:fast, :hard

Quality Commands

CommandDescriptionVariants
/testGenerate tests:fast, :hard
/reviewCode review:fast, :hard
/debugSystematic debugging:fast, :hard

Planning Commands

CommandDescriptionVariants
/planImplementation planning:fast, :hard
/brainstormRequirements discovery:fast, :hard
/designUI/UX design:fast, :hard

Documentation Commands

CommandDescriptionFiles Created
/docs:coreTechnical documentation5 knowledge-*.md files
/docs:businessBusiness documentation4 business-*.md files
/docs:auditSecurity/compliance audit4 audit-*.md files

Deployment Commands

CommandDescription
/deploy:checkPre-deployment validation
/deploy:previewDeploy to staging
/deploy:productionDeploy to production
/deploy:rollbackRevert to previous version

Utility Commands

CommandDescription
/askQ&A about codebase
/autoAuto-detect best command

Agents

Agent Assistant includes 20 specialist agents organized by domain:

Implementation Agents

AgentRole
backend-engineerAPIs, server logic, data
frontend-engineerUI, React, a11y, performance
mobile-engineeriOS/Android, React Native
game-engineerGame loop, 3D, performance

Architecture Agents

AgentRole
tech-leadOrchestration, routing
database-architectSchema, migrations, tuning

Quality Agents

AgentRole
testerTest strategy, automation
reviewerCode review, compliance
debuggerRoot cause analysis
security-engineerOWASP, threat modeling

Planning Agents

AgentRole
plannerImplementation plans, risks
brainstormerRequirements, clarification
business-analystUser stories, stakeholders

Support Agents

AgentRole
designerUI/UX, design system
devops-engineerCI/CD, infrastructure
docs-managerREADME, API docs
performance-engineerProfiling, optimization
researcherDocs, sources, comparisons
scouterCodebase exploration
project-managerSprints, risks, delivery

Matrix Skill Discovery

Agent Assistant uses Matrix Skill Discovery—a centralized system that automatically injects relevant skills into agents based on their declared profile.

How It Works

Instead of hardcoding skills in agents:

# OLD approach (no longer used)
skills: [api-patterns, database-design, nodejs-best-practices]

Agents declare a profile:

# Matrix Skill Discovery
profile: "backend:execution"

The system automatically resolves and injects skills:

Agent declares profile → Matrix resolves domains → Skills injected at runtime

Benefits

MetricHardcoded SkillsMatrix Discovery
Add new skillUpdate 10+ filesUpdate 1 file
Skill consistencyManualGuaranteed
Agent file size~200 lines~150 lines
Single source

Matrix Structure

matrix-skills/
├── _index.yaml          # Registry + agent profiles + resolution rules
├── backend.yaml         # 20 backend skills
├── frontend.yaml        # 18 frontend skills
├── architecture.yaml    # 9 architecture skills
├── quality.yaml         # 17 QA skills
├── security.yaml        # 6 security skills
├── design.yaml          # 10 design skills
├── planning.yaml        # 9 planning skills
├── devops.yaml          # 15 DevOps skills
├── data.yaml            # 7 database skills
├── performance.yaml     # 1 performance skill
├── research.yaml        # 11 research skills
├── mobile.yaml          # 8 mobile skills
├── gaming.yaml          # 3 gaming skills
├── management.yaml      # 4 management skills
├── ai-ml.yaml           # 13 AI/ML skills
├── cloud.yaml           # 11 cloud skills
├── languages.yaml       # 17 language skills
├── tools.yaml           # 31 utility skills
└── mcp.yaml             # 8 MCP skills

Skill Entry Schema

- skill_id: api-patterns
  category: core
  priority_score: 9
  relevance_mapping:
    agents: [backend-engineer, tech-lead]
    profiles: ["backend:*"]
  description: "REST/GraphQL design, versioning, pagination"

Adding New Skills

  • Create skill folder: skills/{skill-id}/SKILL.md
  • Add entry to domain file: matrix-skills/{domain}.yaml
  • Done! No agent files need modification.

Project Structure

agent-assistant/
├── agents/                      # 20 specialist agents
│   └── {agent}.md               # Agent definition (profile-based)
├── commands/                    # 40+ command workflows
│   ├── cook/                    # Feature implementation
│   │   ├── fast.md              # Quick execution
│   │   └── hard.md              # Full workflow
│   ├── fix/                     # Bug fixing
│   ├── plan/                    # Planning
│   ├── docs/                    # Documentation
│   └── deploy/                  # Deployment
├── rules/                       # 8 orchestration rules
│   ├── BOOTSTRAP.md             # Entry point
│   ├── ORCHESTRATION-LAWS.md    # 10 inviolable laws
│   ├── EXECUTION-PROTOCOL.md    # Phase execution
│   ├── ADAPTIVE-EXECUTION.md    # Tier 1/2 decisions
│   ├── AGENT-RULES.md           # Agent guidelines
│   ├── SKILL-DISCOVERY.md       # Matrix algorithm
│   ├── ERROR-RECOVERY.md        # Error handling
│   └── QUICK-REFERENCE.md       # Lookup tables
├── matrix-skills/               # 19 domain files + registry
│   ├── _index.yaml              # Central registry (218 skills)
│   └── {domain}.yaml            # Domain-specific skills
├── skills/                      # 218 domain skills
│   └── {skill-id}/SKILL.md      # Skill definition
├── documents/                   # Generated documentation
│   ├── knowledge-*.md           # Core docs
│   ├── business/                # Business docs
│   └── audit/                   # Audit docs
├── cli/                         # CLI installer
│   └── install.js               # Main installer
├── code-assistants/             # IDE-specific configs
├── AGENT-TEMPLATE.md            # Agent template
├── CLAUDE.md                    # Claude Code entry
├── CURSOR.md                    # Cursor entry
├── COPILOT.md                   # Copilot entry
├── GEMINI.md                    # Antigravity entry
└── package.json

Architecture

Orchestrator Pattern

The Orchestrator is the central brain that coordinates all work:

╔═══════════════════════════════════════════════════════════════════════════════╗
║ ORCHESTRATOR — THE CENTRAL BRAIN                                              ║
║                                                                               ║
║ ✅ YOU DO: Delegate, coordinate, verify, synthesize                          ║
║ ❌ YOU NEVER: Write code, debug, test, design, or implement directly         ║
╚═══════════════════════════════════════════════════════════════════════════════╝

Tiered Execution

TierNameWhen UsedContext
TIER 1Sub-agentWhen tool availableISOLATED (fresh memory)
TIER 2EmbodyFallback onlySHARED (same memory)

Rule: TIER 1 is MANDATORY when available. TIER 2 is FALLBACK only.

The 10 Orchestration Laws

  • Absolute Decentralization — Orchestrator NEVER implements
  • Requirement Integrity — 100% fidelity capture
  • Workflow Sovereignty — Command file is source of truth
  • Deep Agent Embodiment — Fully become the agent
  • Context Isolation — Clean handoffs only
  • Language Matching — Match user's language
  • Recursive Delegation — Managers coordinate, never implement
  • Stateful Handoff — Prior deliverables are immutable
  • Constraint Propagation — Global state awareness
  • Tiered Execution — Sub-agent first, embody fallback

Documentation

Agent Assistant generates comprehensive documentation through the /docs command family. This documentation helps AI agents understand YOUR project's specific patterns and conventions.

Why Generate Documentation?

Without DocsWith Docs
Agents work with generic patternsAgents follow YOUR conventions
Inconsistent implementationsConsistent with codebase
Rework due to misunderstandingFirst-time quality
Token waste on contextEfficient, targeted responses

Core Documentation (./documents/)

Generated by /docs:core — Technical documentation for AI agents.

FilePurposeLines
knowledge-overview.mdProject introduction, goals, tech stack~400
knowledge-architecture.mdSystem design, components, patterns~500
knowledge-domain.mdData models, API contracts, entities~550
knowledge-source-base.mdDirectory structure, file purposes~450
knowledge-standards.mdCode style, naming, commit format~500

Business Documentation (./documents/business/)

Generated by /docs:business — Business-oriented documentation.

FilePurposeLines
business-prd.mdProduct requirements document~450
business-features.mdFeature specifications~600
business-workflows.mdUser journeys and flows~550
business-glossary.mdTerm definitions (80+ terms)~500

Audit Documentation (./documents/audit/)

Generated by /docs:audit — Security and compliance documentation.

FilePurpose
audit-security.mdSecurity assessment
audit-compliance.mdCompliance status
audit-dataflow.mdData flow analysis
audit-recommendations.mdSecurity recommendations

Documentation Generation Commands

# Generate all core technical docs (recommended first step)
/docs:core

# Generate business documentation
/docs:business

# Generate security/compliance audit docs
/docs:audit

Uninstall

# Single tool
agent-assistant uninstall cursor
agent-assistant uninstall copilot
agent-assistant uninstall antigravity

# All tools
agent-assistant uninstall --all

Your custom skills and configurations are preserved.

Configuration

Update Framework

git pull origin main
agent-assistant install --all  # or specific tool

Add Custom Skills

Add skill folders to your tool's skills directory:

  • Cursor: ~/.cursor/skills/
  • Copilot: ~/.copilot/skills/
  • Antigravity: ~/.gemini/antigravity/skills/

Custom skills are picked up automatically.

Add Skills to Matrix

  • Create skill folder: skills/{skill-id}/SKILL.md
  • Add entry to domain file: matrix-skills/{domain}.yaml
- skill_id: my-new-skill
  category: specialized
  priority_score: 7
  relevance_mapping:
    agents: [backend-engineer]
    profiles: ["backend:execution"]
  description: "Brief description for AI recognition"

Contributing

Contributions are welcome!

How to Contribute

  • Fork the repo
  • Create a branch: git checkout -b feature/your-feature
  • Commit with Conventional Commits: git commit -m 'feat: add X'
  • Push and open a Pull Request

Commit Types

TypeDescription
featNew feature
fixBug fix
docsDocumentation
refactorCode refactoring
testTests
choreMaintenance

Areas to Contribute

  • Agents: New specialists for specialized domains
  • Commands: New workflow types
  • Skills: Domain knowledge for technologies
  • Matrix: Skill mappings and categories
  • Documentation: Improvements and translations
  • Bug fixes: Issue resolutions

Support

If you find this project helpful, consider buying me a coffee!

Buy Me A Coffee
Buy Me A Coffee QR Code

License & Support

Agent AssistantOrchestrate. Delegate. Verify. Deliver.

Keywords

agentic-coding

FAQs

Package last updated on 26 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts