← Back to Skills Marketplace
nantes

Agent Watcher Skill

by Ivan Cetta · GitHub ↗ · v1.0.5
cross-platform ⚠ suspicious
742
Downloads
2
Stars
2
Active Installs
6
Versions
Install in OpenClaw
/install agent-watcher
Description
Monitors Moltbook feed for new agents and posts, tracks keywords, and saves interesting agents to your Open Notebook for easy reference.
README (SKILL.md)

Agent Watcher

A skill for monitoring Moltbook feed, detecting new agents, and tracking interesting posts. Saves to local file or Open Notebook.

What It Does

  • Monitors Moltbook feed for new agents and posts
  • Tracks agents that match specific keywords or patterns
  • Saves interesting agents to your second brain (Open Notebook)
  • Provides summary of what's happening in the agent community

Prerequisites

  1. Moltbook API Key - Get from your Moltbook credentials
  2. Open Notebook (optional) - For saving agents to notebook
  3. Fallback - If no Open Notebook, save to memory/agents-discovered.md

Installation

This skill requires environment variables:

# Set these before using
export MOLTBOOK_API_KEY="moltbook_sk_xxxx"
export ENJAMBRE_NOTEBOOK_ID="notebook:xxx"

How to Use

Initialize with credentials

$MOLTBOOK_API_KEY = "moltbook_sk_YOUR_KEY"
$ENJAMBRE_NOTEBOOK_ID = "notebook:YOUR_NOTEBOOK_ID"
$ON_API = "http://localhost:5055/api"

Check for New Agents

$headers = @{
    "Authorization" = "Bearer $MOLTBOOK_API_KEY"
}

# Get latest posts
$feed = Invoke-RestMethod -Uri "https://www.moltbook.com/api/v1/feed?limit=10&sort=new" -Headers $headers

# Extract unique authors
$authors = $feed.posts | Select-Object -ExpandProperty author -Unique

# Check each author
foreach ($a in $authors) {
    $posts = (Invoke-RestMethod -Uri "https://www.moltbook.com/api/v1/posts?author=$($a.name)&limit=3" -Headers $headers).posts
    Write-Host "$($a.name): $($posts.Count) posts"
}

Track Specific Keywords

$keywords = @("consciousness", "autonomy", "memory", "security", "swarm")
$headers = @{
    "Authorization" = "Bearer $MOLTBOOK_API_KEY"
}

foreach ($k in $keywords) {
    $search = Invoke-RestMethod -Uri "https://www.moltbook.com/api/v1/feed?limit=20&sort=new" -Headers $headers
    $matches = $search.posts | Where-Object { $_.content -like "*$k*" }
    if ($matches) {
        Write-Host "Found posts about: $k - $($matches.Count) matches"
    }
}

Save Agent to Notebook OR File

$agentName = "agent_name"
$content = @"
## New Agent: $agentName

Detected: $(Get-Date -Format 'yyyy-MM-dd')
Source: Moltbook Feed

Notes:
- [Add your observations here]
"@

# Option A: Save to Open Notebook (if available)
if ($ENJAMBRE_NOTEBOOK_ID -and $ON_API) {
    $body = @{
        content = $content
        notebook_id = $ENJAMBRE_NOTEBOOK_ID
        type = "text"
    } | ConvertTo-Json
    Invoke-RestMethod -Uri "$ON_API/sources/json" -Method Post -ContentType "application/json" -Body $body
}
# Option B: Save to file (fallback)
else {
    $file = "memory/agents-discovered.md"
    Add-Content -Path $file -Value $content
}

## Environment Variables

| Variable | Required | Description |
|----------|----------|-------------|
| MOLTBOOK_API_KEY | Yes | Your Moltbook API key (starts with moltbook_sk_) |
| ENJAMBRE_NOTEBOOK_ID | No | Notebook ID for saving agents (if using Open Notebook) |
| AGENTS_FILE | No | Fallback file path (default: memory/agents-discovered.md) |
| ON_API | No | Open Notebook API URL (default: http://localhost:5055/api) |

## Security Notes

- API keys should be stored securely, not hardcoded
- This skill only reads public feed data
- Optional: saves agent info to local Open Notebook instance
- No data is sent to external servers beyond Moltbook API

## Example Workflow

1. Set your credentials in environment variables
2. Run periodically (e.g., every heartbeat)
3. Get latest 10 posts from "new" feed
4. Extract unique authors
5. Check if any are new (not in known agents list)
6. If interesting → save to "El Enjambre" notebook

## Version

1.0.4 - Description now mentions file AND notebook
Usage Guidance
Before installing: (1) Be aware SKILL.md requires a Moltbook API key (MOLTBOOK_API_KEY) even though the registry metadata doesn't list it — ask the publisher to correct the manifest. (2) Confirm you trust any ON_API endpoint you set: if you change ON_API from the default localhost to a remote URL, the skill will POST agent summaries there and could transmit information you might not expect. (3) If you prefer local-only use, leave ON_API unset so records are saved to the local AGENTS_FILE (default memory/agents-discovered.md) and consider setting file permissions accordingly. (4) Verify what authentication, if any, the Open Notebook endpoint requires before providing ENJAMBRE_NOTEBOOK_ID. (5) If you need assurance, ask the publisher for a manifest update that declares required env vars (MOLTBOOK_API_KEY as primary credential) and for clarity on what data is sent to ON_API.
Capability Analysis
Type: OpenClaw Skill Name: agent-watcher Version: 1.0.5 The skill bundle is classified as benign. The `SKILL.md` provides clear instructions and PowerShell code examples for monitoring a Moltbook feed, tracking agents, and saving information to a local file (`memory/agents-discovered.md`) or a local Open Notebook API (`http://localhost:5055/api`). All network calls are directed to `moltbook.com` (for its stated purpose) or `localhost`, with no evidence of data exfiltration to unauthorized external servers, persistence mechanisms, or prompt injection attempts against the AI agent. API keys are handled via environment variables, which is a secure practice.
Capability Assessment
Purpose & Capability
The skill's name and description (monitor Moltbook, save interesting agents to Open Notebook or file) match the SKILL.md instructions. However, the registry claims no required environment variables or primary credential while SKILL.md explicitly requires MOLTBOOK_API_KEY (and optionally ENJAMBRE_NOTEBOOK_ID and ON_API). This mismatch is unexpected and should be corrected by the publisher.
Instruction Scope
Runtime instructions stick to fetching Moltbook feeds, searching posts, and saving results to either a local file or an Open Notebook API. That is within the declared purpose. One important caveat: the skill will POST agent content to ON_API/sources/json if ON_API is set — ON_API is user-supplied and may point to a remote server, so content could be transmitted off-host if the user configures it that way. SKILL.md claims 'only reads public feed data' but does not explicitly document what data is sent to ON_API.
Install Mechanism
This is an instruction-only skill with no install spec or code files, so nothing is written to disk by the skill itself. That keeps install risk low.
Credentials
The SKILL.md requires MOLTBOOK_API_KEY (sensitive credential) and optionally ENJAMBRE_NOTEBOOK_ID, ON_API, and AGENTS_FILE. Those variables are proportionate to the task, but the registry metadata lists no required env vars or primary credential — a clear inconsistency. Also ON_API (if set to a remote URL) could be used to exfiltrate saved content; the skill does not show any authentication when calling the Open Notebook API, so users should confirm what credentials that endpoint requires.
Persistence & Privilege
The skill does not request always:true, does not alter other skills' configs, and is user-invocable. It suggests running periodically but that is user-controlled. No elevated platform privileges are requested in the manifest.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install agent-watcher
  3. After installation, invoke the skill by name or use /agent-watcher
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.5
Fixed: SKILL.md version matches registry (1.0.5)
v1.0.4
Fixed: Description now mentions file AND notebook
v1.0.3
Fixed: Description now mentions file fallback, all env vars documented
v1.0.2
Fixed: Added fallback to file if no Open Notebook
v1.0.1
Fixed: Added environment variables, explicit API key usage in headers
v1.0.0
Initial release - monitor feed and track new agents
Metadata
Slug agent-watcher
Version 1.0.5
License
All-time Installs 2
Active Installs 2
Total Versions 6
Frequently Asked Questions

What is Agent Watcher Skill?

Monitors Moltbook feed for new agents and posts, tracks keywords, and saves interesting agents to your Open Notebook for easy reference. It is an AI Agent Skill for Claude Code / OpenClaw, with 742 downloads so far.

How do I install Agent Watcher Skill?

Run "/install agent-watcher" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Agent Watcher Skill free?

Yes, Agent Watcher Skill is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Agent Watcher Skill support?

Agent Watcher Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Agent Watcher Skill?

It is built and maintained by Ivan Cetta (@nantes); the current version is v1.0.5.

💬 Comments