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

@claw-link/meta-sm-manager

v1.3.3

Published

Meta social media manager sub-agent for the ClawLink platform — manages Instagram, Facebook, and Threads posts, comments, content, and pages via Graph API.

Readme

@claw-link/meta-sm-manager

Meta Social Media Manager sub-agent for the ClawLink platform.

Manages Instagram, Facebook, and Threads via the Meta Graph API — post publishing, comment auto-replies, and AI-generated content. Runs as an OpenClaw sub-agent on your local machine.


How it works

Meta (comment / DM)
  ↓
ClawLink meta-webhook edge function
  ↓  enriches event, calls this agent via OpenClaw
meta-sm-manager (local OpenClaw agent)
  ↓  returns JSON decision
Edge function executes Graph API action (reply / hide / delete)

This package handles the AI decision-making and direct posting. ClawLink platform handles webhook routing, signature verification, and inbound event delivery — no Supabase credentials needed here.


Features

  • Comment auto-reply — receives enriched prompts from ClawLink, decides: reply / hide / delete / ignore / escalate
  • Post publishing — create and publish posts directly via Graph API
  • AI content generation — captions, hashtags, reply text using the OpenClaw-configured model
  • Page memory — per-page brand voice, blocked keywords, and custom rules stored in the workspace
  • Multi-page — manage multiple Facebook / Instagram / Threads pages from one agent

Requirements


Install

npx @claw-link/meta-sm-manager

The interactive installer prompts for:

| Prompt | Where to find it | |--------|-----------------| | Meta App ID | developers.facebook.com/apps → your app → Settings → Basic | | Meta App Secret | Same page → click Show next to App Secret | | Page ID | Facebook: your Page → About → Page Transparency. Instagram: query /{fb-page-id}?fields=instagram_business_account | | Page Access Token | Graph API Explorer → select your app → Generate Token → exchange via GET /me/accounts |

The installer writes credentials to ~/.openclaw/workspace-{agentId}/CONFIG.json and registers the agent with OpenClaw.

To uninstall:

npx @claw-link/meta-sm-manager --uninstall

Setup after install

1. Platform setup (ClawLink dashboard, done once)

The ClawLink platform handles webhook receiving and signature verification. Set this up in the dashboard:

  1. Go to claw-link.coCompany Profile → Social Media
  2. Copy your Webhook URL and Verify Token from there
  3. Enter your Meta App ID + Secret to enable signature verification

2. Register the webhook with Meta

In Meta App DashboardWebhooks:

  • Callback URL: copy from ClawLink dashboard (Company Profile → Social Media)
  • Verify Token: copy from ClawLink dashboard
  • Subscribe to: feed, comments, mention, messages

3. Connect to ClawLink

Go to claw-link.coSub-agents → Add Sub-agent → select the agent ID you used during install.


Usage (sub-agent tasks)

Send tasks from a parent ClawLink agent:

{ "action": "create_post",      "page_id": "123", "content_text": "Hello world!", "platform": "facebook" }
{ "action": "generate_content", "page_id": "123", "topic": "summer sale", "platform": "instagram", "tone": "friendly" }
{ "action": "reply_comment",    "comment_id": "456_789", "page_id": "123", "reply_text": "Thanks!" }
{ "action": "get_insights",     "page_id": "123" }

All actions return structured JSON — see AGENTS.md in the workspace for the full action reference.


Workspace

~/.openclaw/workspace-{agentId}/
├── CONFIG.json          ← Meta App credentials + page tokens (keep private)
├── IDENTITY.md          ← agent identity
├── BOOTSTRAP.md         ← startup instructions
├── AGENTS.md            ← decision formats and sub-agent task reference
├── TOOLS.md             ← decision rules and content generation prompts
├── PAGES.md             ← connected pages reference
├── PERSONA.md           ← default brand voice and classification rules
├── CONTENT_GUIDE.md     ← content creation workflow
├── memory/              ← per-page brand voice profiles (auto-created)
└── content/
    ├── drafts/          ← AI-generated drafts
    ├── media/           ← images and videos
    └── published/       ← publish log

License

MIT — ClawLink