Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Summary

Expert assistance for Trebuchet distributed actor framework development

Install to Claude Code

/plugin install trebuchet@briannadoubt

Run in Claude Code. Add the marketplace first with /plugin marketplace add briannadoubt/claude-marketplace if you haven't already.

README.md

Trebuchet Plugin for Claude Code

Expert assistance for Trebuchet distributed actor framework development.

What is Trebuchet?

Trebuchet is a Swift 6.2 distributed actor framework that makes RPC stupid simple. Define actors once and use them seamlessly whether they're local or remote, in-process or deployed to AWS Lambda.

What This Plugin Provides

This plugin gives Claude Code deep expertise in Trebuchet through:

📚 Skills (9 total)

Documentation organized as discoverable skills that Claude automatically uses when relevant:

  • getting-started - Installation, setup, basic actor patterns
  • distributed-actors - Best practices for defining actors
  • streaming - Real-time state synchronization with @StreamedState
  • swiftui-integration - Reactive SwiftUI integration
  • cloud-deployment - Serverless deployment architecture
  • aws-lambda - AWS Lambda deployment guide
  • cli - Trebuchet CLI commands and workflows
  • security - Authentication, authorization, rate limiting
  • observability - Logging, metrics, distributed tracing

🤖 Specialized Agent

The trebuchet-expert agent provides comprehensive guidance on:

  • Setting up new projects
  • Debugging distributed actor issues
  • Designing actor architectures
  • Configuring cloud deployments
  • Optimizing performance and costs
  • Implementing security and observability

Claude automatically delegates Trebuchet questions to this agent.

Installation

Using Claude Code CLI

# Clone the plugin repository
git clone https://github.com/briannadoubt/trebuchet-plugin

# Install locally
claude plugin add ./trebuchet-plugin

Enable in Settings

Add to your Claude Code settings:

{
  "enabledPlugins": {
    "trebuchet@briannadoubt": true
  }
}

Usage

Automatic Skill Invocation

Claude automatically uses relevant skills when you:

Ask: "How do I get started with Trebuchet?"
→ Invokes getting-started skill

Ask: "How do I add streaming to my actor?"
→ Invokes streaming skill

Ask: "Deploy my actors to AWS"
→ Invokes aws-lambda and cli skills

Explicit Agent Invocation

For comprehensive guidance, explicitly invoke the expert agent:

"Use trebuchet-expert to help me design my actor system"
"Ask the trebuchet-expert about optimizing my deployment"

Working with Your Code

When you're working in a Trebuchet project, Claude will:

  • Automatically recognize Trebuchet code
  • Use relevant skills for context
  • Suggest best practices
  • Help debug issues
  • Assist with deployments

Example Interactions

Setting Up a New Project

You: "Help me create a new Trebuchet project for a real-time game server"

Claude (using getting-started and distributed-actors skills):

  • Guides you through installation
  • Helps define your actors
  • Sets up server and client code
  • Suggests architecture patterns

Adding Streaming

You: "Add real-time state streaming to my GameRoom actor"

Claude (using streaming skill):

  • Adds @StreamedState to your actor
  • Shows SwiftUI integration with @ObservedActor
  • Configures stream resumption
  • Suggests filtering and delta encoding for optimization

Deploying to AWS

You: "Deploy my actors to AWS Lambda"

Claude (using aws-lambda and cli skills):

  • Creates or updates trebuchet.yaml
  • Explains AWS resources
  • Runs trebuchet deploy --dry-run
  • Executes deployment
  • Provides client connection instructions

Adding Security

You: "Add API key authentication to my actors"

Claude (using security skill):

  • Adds TrebuchetSecurity dependency
  • Configures APIKeyAuthenticator
  • Shows middleware integration
  • Adds rate limiting

Skills Reference

Each skill provides comprehensive documentation on its topic:

| Skill | Description | |-------|-------------| | getting-started | Installation, first actors, server/client setup | | distributed-actors | @Trebuchet macro, method requirements, error handling | | streaming | @StreamedState, @ObservedActor, resumption, filtering | | swiftui-integration | Connection management, @RemoteActor, reconnection | | cloud-deployment | CloudGateway, providers, service discovery, state stores | | aws-lambda | AWS deployment, DynamoDB, CloudMap, WebSocket streaming | | cli | trebuchet init/deploy/status/undeploy/dev commands | | security | Authentication, authorization, rate limiting, validation | | observability | Logging, metrics, tracing, CloudWatch integration |

Plugin Structure

trebuchet-plugin/
├── .claude-plugin/
│   └── plugin.json              # Plugin manifest
├── skills/
│   ├── SKILLS.md                # Skills index
│   ├── getting-started/
│   │   └── SKILL.md
│   ├── distributed-actors/
│   │   └── SKILL.md
│   ├── streaming/
│   │   └── SKILL.md
│   ├── swiftui-integration/
│   │   └── SKILL.md
│   ├── cloud-deployment/
│   │   └── SKILL.md
│   ├── aws-lambda/
│   │   └── SKILL.md
│   ├── cli/
│   │   └── SKILL.md
│   ├── security/
│   │   └── SKILL.md
│   └── observability/
│       └── SKILL.md
├── agents/
│   └── trebuchet-expert.md      # Specialized agent
├── README.md
└── LICENSE

Contributing

Contributions are welcome! To add or improve skills:

1. Fork this repository 2. Create or edit skill files in skills/ 3. Ensure each SKILL.md has proper frontmatter 4. Test with Claude Code 5. Submit a pull request

Resources

  • Trebuchet GitHub: https://github.com/briannadoubt/Trebuchet
  • Documentation: https://briannadoubt.github.io/Trebuchet/documentation/trebuchet/
  • Plugin Issues: https://github.com/briannadoubt/trebuchet-plugin/issues

License

MIT License - See LICENSE file for details

Support

For help with:

Related plugins

Browse all →