with one click
blackops-center
// Control your BlackOps Center sites from Clawdbot - create, publish, and manage blog posts via API.
// Control your BlackOps Center sites from Clawdbot - create, publish, and manage blog posts via API.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | blackops-center |
| description | Control your BlackOps Center sites from Clawdbot - create, publish, and manage blog posts via API. |
| homepage | https://github.com/BlackOpsCenter/clawdbot-skill |
| metadata | {"clawdbot":{"emoji":"📝","requires":{"bins":["curl","jq"]}}} |
Control your BlackOps Center sites from Clawdbot. Create, publish, and manage blog posts via API.
Generate an API token in BlackOps Center:
Configure the skill:
cd ~/.clawdbot/skills/blackops-center
cp config.example.yaml config.yaml
# Edit config.yaml and paste your token
Create config.yaml:
api_token: "your-token-here"
base_url: "https://blackopscenter.com" # or your custom domain
All commands use the blackops-center CLI wrapper.
Show all sites you have access to:
blackops-center list-sites
Returns JSON with your sites and which one is active for this token.
List posts for your site:
# List all posts
blackops-center list-posts
# List only published posts
blackops-center list-posts --status published
# List only drafts
blackops-center list-posts --status draft
# Limit results
blackops-center list-posts --limit 10
Get full details of a specific post:
blackops-center get-post <post-id>
Create a new draft post:
blackops-center create-post \
--title "My Post Title" \
--content "Post content in markdown" \
--excerpt "Optional excerpt" \
--tags "tag1,tag2,tag3"
All posts are created as drafts by default.
Update an existing post:
# Update title
blackops-center update-post <post-id> --title "New Title"
# Update content
blackops-center update-post <post-id> --content "New content"
# Publish a draft
blackops-center update-post <post-id> --status published
# Unpublish (back to draft)
blackops-center update-post <post-id> --status draft
You can combine multiple flags to update multiple fields at once.
blackops-center delete-post <post-id>
When you invoke this skill from a Clawdbot session, you can use natural language:
User: "Create a blog post about AI agents titled 'The Future of Automation'"
Assistant will:
blackops-center create-post --title "..." --content "..."User: "Publish post abc123"
Assistant will:
blackops-center update-post abc123 --status publishedUser: "Show me my recent draft posts"
Assistant will:
blackops-center list-posts --status draft --limit 10This skill uses the BlackOps Center Extension API (/api/ext/*):
GET /api/ext/sites - List sitesGET /api/ext/posts - List postsPOST /api/ext/posts - Create postGET /api/ext/posts/:id - Get postPUT /api/ext/posts/:id - Update postDELETE /api/ext/posts/:id - Delete postAll requests require Authorization: Bearer <token> header.
# Create draft
POST_ID=$(blackops-center create-post \
--title "My Post" \
--content "# My Post\n\nGreat content here." | jq -r '.post.id')
# Review, edit if needed...
# Publish when ready
blackops-center update-post "$POST_ID" --status published
# Get all draft posts
DRAFTS=$(blackops-center list-posts --status draft)
# Publish all drafts (careful!)
echo "$DRAFTS" | jq -r '.posts[].id' | while read id; do
blackops-center update-post "$id" --status published
done
"Unauthorized" error:
config.yaml"Site not found":
Command not found:
bin/ is executable: chmod +x ~/.clawdbot/skills/blackops-center/bin/*~/.clawdbot/skills/Test the API directly with curl:
curl -H "Authorization: Bearer YOUR_TOKEN" \
https://blackopscenter.com/api/ext/posts