用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/duclm1x1/Dive-Ai --skill blackops-center命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Persistent memory system for AI agents following Model Context Protocol (MCP). Use for storing long-term memories across sessions, semantic search of past knowledge, building knowledge graphs, auto-injecting context, deduplicating memories, syncing to cloud storage. Essential for agents that need to remember decisions, solutions, preferences, and learned patterns over time.
Persistent memory system for AI agents following Model Context Protocol (MCP). Use for storing long-term memories across sessions, semantic search of past knowledge, building knowledge graphs, auto-injecting context, deduplicating memories, syncing to cloud storage. Essential for agents that need to remember decisions, solutions, preferences, and learned patterns over time.
Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.
正在显示 SKILL.md
基于 SOC 职业分类
| 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