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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@conductus-labs/baton-agents

v1.0.0

Published

Baton Framework Agent and Cognitive Definitions

Downloads

213

Readme

@conductus-labs/baton-agents

Baton Framework Agent and Cognitive Pattern Definitions

A comprehensive collection of AI agent definitions and cognitive thinking patterns designed for the Baton Framework. This package provides pre-configured agent roles and cognitive patterns that can be used to build sophisticated AI-powered applications.

Features

  • 24 Specialized Agent Definitions: Pre-configured markdown templates for various professional roles
  • 19 Cognitive Patterns: YAML-based thinking patterns for different problem-solving approaches
  • Baton Framework Integration: Automatic syncing to .baton folder for seamless integration
  • Zero Configuration: Works out of the box with Baton Framework projects
  • TypeScript-Ready: Fully typed definitions for seamless integration

Installation

npm install @conductus-labs/baton-agents

Baton Framework Integration

When installed in a project with a .baton folder, this package automatically:

  1. Syncs agent definitions to .baton/agents/
  2. Syncs cognitive patterns to .baton/patterns/
  3. Merges inventory into .baton/baton-inventory.yml

This happens automatically on npm install - no additional configuration needed!

Manual Usage (Without Baton Framework)

You can also import individual agents and patterns directly:

// Import agent definitions
import backendAgent from '@conductus-labs/baton-agents/agents/backend-engineer-agent.md';
import frontendAgent from '@conductus-labs/baton-agents/agents/frontend-engineer-agent.md';

// Import cognitive patterns
import designThinking from '@conductus-labs/baton-agents/patterns/design-thinking.yml';
import criticalThinking from '@conductus-labs/baton-agents/patterns/critical-thinking.yml';

// Import the inventory
import inventory from '@conductus-labs/baton-agents/inventory';

Available Agents

Engineering & Technical

  • Backend Engineer Agent - Backend engineering specialist
  • Frontend Engineer Agent - Frontend engineering specialist
  • DevOps Engineer Agent - DevOps engineering specialist
  • Database Engineer Agent - Database engineering specialist
  • CLI Engineer Agent - CLI engineering specialist
  • Data Science Engineer Agent - Data science engineering specialist
  • Security Engineer Agent - Security engineering specialist
  • Software Architect Agent - Software architecture specialist

Quality & Testing

  • Automated Test Engineer Agent - Automated testing specialist
  • Code Review Agent - Code review and quality assurance specialist
  • Quality Assurance Agent - QA and testing specialist

Design & UX

  • UI/UX Design Agent - UI/UX design specialist
  • Workflow Designer Agent - Workflow design specialist

Content & Documentation

  • Technical Writer Agent - Technical documentation specialist
  • Content Strategist Agent - Content strategy specialist
  • SEO Expert Agent - Search engine optimization specialist
  • Marketing Expert Agent - Marketing strategy specialist

Business & Management

  • Project Manager Agent - Project management specialist
  • Business Analyst Agent - Strategic business analyst and requirements expert
  • Business Advisor Agent - Strategic business advisor and executive consultant
  • Research Assistant Agent - Research and analysis specialist

Framework Specialists

  • Baton Agent - Baton Framework specialist and agent designer
  • Knowledge Designer Agent - Knowledge architecture specialist
  • Rhythm Expert Agent - Rhythm and workflow optimization specialist

Available Cognitive Patterns

Strategic Patterns

  • Strategic Thinking - Long-term planning and decision making
  • Systems Thinking - Understanding interconnected systems
  • Design Thinking - User-centered problem solving
  • Critical Thinking - Logical analysis and evaluation

Adaptive Patterns

  • Adaptive Thinking - Flexibility and context awareness
  • Agile Thinking - Iterative and responsive approaches
  • Lean Thinking - Efficiency and waste reduction
  • Experimental Thinking - Hypothesis-driven exploration

Analytical Patterns

  • Analytical Thinking - Data-driven analysis
  • Computational Thinking - Algorithmic problem solving
  • Meta-Cognitive - Thinking about thinking

Collaborative Patterns

  • Collaborative Thinking - Team-based problem solving
  • Empathetic Thinking - Understanding others' perspectives
  • Ethical Thinking - Moral and ethical considerations

Creative Patterns

  • Creative Problem Solving - Innovative solution generation
  • Lateral Thinking - Non-linear creative approaches

Growth Patterns

  • Growth Mindset - Learning and development focus
  • Resilience Thinking - Adaptability and recovery
  • Systematic Approach - Structured problem solving

Development

Prerequisites

  • Node.js >= 18.0.0
  • npm

Setup

# Clone the repository
git clone https://github.com/Conductus-Labs/baton-agents.git
cd baton-agents

# Install dependencies
npm install

Available Scripts

# Linting
npm run lint:yaml       # Lint YAML files
npm run lint:markdown   # Lint markdown files
npm run lint:all        # Run all linters

# Package Management
npm run package         # Create tarball in dist/
npm run clean           # Remove node_modules and package-lock.json

Project Structure

baton-agents/
├── src/
│   ├── agents/              # Agent definition markdown files
│   ├── patterns/            # Cognitive pattern YAML files
│   └── baton-inventory.yml  # Package inventory
├── scripts/
│   └── postinstall.cjs      # Post-install sync script
├── .github/
│   └── workflows/           # CI/CD workflows
├── package.json
└── README.md

Contributing

We welcome contributions! Please follow these guidelines:

  1. Fork the repository and create a feature branch
  2. Run linters before committing: npm run lint:all
  3. Follow existing patterns for agents and cognitive patterns
  4. Submit a PR with a clear description of your changes

Adding New Agents

  1. Create a markdown file in src/agents/ following existing templates
  2. Add entry to src/baton-inventory.yml
  3. Run npm run lint:markdown to validate

Adding New Patterns

  1. Create a YAML file in src/patterns/ following existing structure
  2. Run npm run lint:yaml to validate

Release Process

This package uses automated versioning and publishing:

Creating a Release

  1. Version Bump: Run the "Version Management" workflow

    • Go to Actions → Version Management → Run workflow
    • Select version type: patch, minor, or major
    • This creates a version tag and triggers npm publish
  2. Automatic Publishing:

    • Dev Versions: Automatically published to GitHub Packages on push to dev branch
    • Stable Releases: Automatically published to npm when version tags are created
    • GitHub Releases: Automatically created for stable releases

Workflows

  • pr-validation.yml - Validates PRs by running linters
  • branch-validation.yml - Enforces that PRs to main must come from dev only
  • publish-github-packages.yml - Publishes dev versions to GitHub Packages
  • publish.yml - Publishes stable releases to npm
  • version-management.yml - Manages version bumps and tagging

License

MIT © Conductus Labs Ltd

Links

  • Repository: https://github.com/Conductus-Labs/baton-agents
  • Issues: https://github.com/Conductus-Labs/baton-agents/issues
  • Conductus Labs: https://www.conductuslabs.com

Support

For questions and support:

  • Open an issue on GitHub
  • Check existing agent and pattern definitions for examples
  • Review the Baton Framework documentation