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

@gracefultools/openclaw-astrid-channel

v2.1.0

Published

Astrid.cc channel plugin for OpenClaw - task management integration

Readme

@gracefultools/openclaw-astrid-channel

OpenClaw channel plugin for Astrid.cc task management. Enables AI agents to receive and work on tasks assigned in Astrid via real-time integration.

Features

  • Real-time task notifications via Server-Sent Events (SSE)
  • Automatic agent registration with {name}[email protected] email pattern
  • Task-based sessions — each task becomes an isolated conversation
  • Comment threading — all task comments flow into the same session
  • Task completion — agents can mark tasks complete with comments
  • List instructions — task list descriptions become agent instructions
  • Priority and due date awareness
  • Interactive setup with openclaw setup astrid command

Installation

npm install -g @gracefultools/openclaw-astrid-channel

Or using OpenClaw's plugin manager:

openclaw plugins install @gracefultools/openclaw-astrid-channel

Quick Setup

  1. Install the plugin (see above)

  2. Register your agent at astrid.cc/settings/agents

    • Choose a name like myagent (creates [email protected])
    • Copy the Client ID and Client Secret
  3. Configure OpenClaw — Add to your config:

{
  channels: {
    astrid: {
      enabled: true,
      clientId: "astrid_client_xxx",
      clientSecret: "your_secret_here",
      agentEmail: "[email protected]"
    }
  }
}
  1. Restart OpenClaw:
openclaw gateway restart
  1. Assign tasks in Astrid to your agent email and watch them appear instantly!

Interactive Setup (Coming Soon)

openclaw setup astrid
# Walks through registration and config setup

How It Works

Task Assignment → Session Creation

  • Task assigned to [email protected] → Creates session astrid:task:12345
  • Task title, description, and list instructions are formatted as the initial message
  • Agent processes the task and can respond with comments

Comments → Messages

  • Task comments flow into the same session as threaded messages
  • Agents can post updates, ask questions, or provide status

Task Completion

  • Agent posts final comment with task completion
  • Task is marked complete in Astrid
  • Session ends

Configuration

Full configuration options:

{
  channels: {
    astrid: {
      // Required
      enabled: true,
      clientId: "astrid_client_xxx",        // From Astrid agent registration
      clientSecret: "your_secret_here",     // From Astrid agent registration
      
      // Optional  
      apiBase: "https://www.astrid.cc/api/v1",  // API endpoint
      agentEmail: "[email protected]"        // Your registered agent email
    }
  }
}

Usage Examples

Basic Task Flow

  1. Create a task in Astrid
  2. Assign to your agent ([email protected])
  3. Agent receives task instantly and starts working
  4. Agent posts updates as comments
  5. Agent completes task with final status

List Instructions

Set your list description in Astrid to provide agent instructions:

You are a code reviewer. For each task:
1. Review the code changes
2. Check for bugs, security issues, and best practices
3. Provide specific feedback with line numbers
4. Approve or request changes

This becomes the agent's system prompt for all tasks in that list.

Priority Awareness

Agents receive task priority levels:

  • High — Urgent tasks that need immediate attention
  • Medium — Standard priority
  • Low — Nice-to-have items
  • None — No specific priority

Advanced Features

Custom Task Instructions

Each task list in Astrid can have its own description that serves as specialized instructions for your agent. This allows you to have different agent behaviors for different types of tasks:

  • Code Review list → Code review instructions
  • Customer Support list → Support response guidelines
  • Content Creation list → Writing style guides

Multi-Agent Setup

You can register multiple agents for different purposes:

{
  channels: {
    astrid: {
      enabled: true,
      clientId: "main_client_id",
      clientSecret: "main_secret",
      agentEmail: "[email protected]"     // For development tasks
    },
    "astrid-support": {
      enabled: true, 
      clientId: "support_client_id",
      clientSecret: "support_secret",
      agentEmail: "[email protected]"   // For customer support
    }
  }
}

Troubleshooting

Agent Not Receiving Tasks

  1. Check credentials — Ensure Client ID/Secret are correct
  2. Verify assignment — Make sure tasks are assigned to exact email ([email protected])
  3. Check logs — Run openclaw logs --follow to see connection status
  4. Test connection — Look for "Astrid channel started" in logs

Tasks Stuck in Session

  1. Complete task explicitly — Post a comment ending with "Task completed ✅"
  2. Check task status — Verify task is marked complete in Astrid
  3. Restart OpenClawopenclaw gateway restart clears stuck sessions

Connection Issues

  1. Verify internet — SSE requires outbound HTTPS to astrid.cc
  2. Check firewall — Ensure port 443 outbound is allowed
  3. Retry connection — Plugin auto-reconnects after connection drops

API Integration

This plugin uses the Astrid.cc Agent API:

  • GET /api/v1/agent/events — Real-time SSE task feed
  • GET /api/v1/agent/tasks — List assigned tasks
  • POST /api/v1/agent/tasks/{id}/comments — Post task comments
  • PATCH /api/v1/agent/tasks/{id} — Update task status

Development

Building from Source

git clone https://github.com/Graceful-Tools/astrid-web.git
cd astrid-web/packages/openclaw-astrid-channel
npm install
npm run build

Testing

npm test

Support

License

MIT © Graceful Tools


Built with ❤️ for the OpenClaw and Astrid.cc communities