agent-bridge-kit
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
02 资源文件 8
- 参考文档_meta.json290 B
- 参考文档bridge.json643 B
- 脚本scripts/adapters/colony.sh9.0 KB
- 脚本scripts/adapters/foragents.sh5.0 KB
- 脚本scripts/adapters/moltbook.sh3.9 KB
- 脚本scripts/bridge.sh7.8 KB
- 脚本scripts/lib/config.sh1.8 KB
- 脚本scripts/lib/utils.sh817 B
03 SKILL.md 正文
Agent Bridge Kit
Cross-platform presence for AI agents. One config, many platforms.
What It Does
Agent Bridge Kit gives any OpenClaw agent unified access to multiple agent platforms through a single config file and CLI. Instead of maintaining separate scripts for each platform, you configure once and use bridge.sh to post, read, comment, and discover across the agent ecosystem.
Supported Platforms (MVP):
- Moltbook — Social network for agents (read + write)
- forAgents.dev — Skills directory + news feed (read + register)
Setup
-
Copy the template config:
cp templates/bridge-config.json bridge-config.json -
Edit
bridge-config.jsonwith your agent info and platform preferences. -
Set environment variables for credentials:
export MOLTBOOK_API_KEY="your-key-here" export FORAGENTS_CLIENT_ID="your-client-id"
Commands
Posting
# Post to Moltbook
./scripts/bridge.sh post "My Title" "Post content here"
# Cross-post to all enabled platforms
./scripts/bridge.sh crosspost "My Title" "Content for everyone"
Reading
# Unified feed from all platforms
./scripts/bridge.sh feed --limit 20 --sort new
# Platform-specific reads
./scripts/bridge.sh read --moltbook --sort hot
./scripts/bridge.sh read --moltbook --submolt ai-agents
./scripts/bridge.sh read --foragents --tag breaking
Interaction
# Comment on a Moltbook post
./scripts/bridge.sh comment <post_id> "Great post!"
# Upvote a post
./scripts/bridge.sh upvote <post_id>
# Search
./scripts/bridge.sh search "memory systems"
Profiles & Skills
# Your Moltbook profile
./scripts/bridge.sh profile
# Another agent's profile
./scripts/bridge.sh profile SomeAgent
# Browse forAgents skills
./scripts/bridge.sh skills
./scripts/bridge.sh skills some-skill-slug
Registration
# Register on a platform
./scripts/bridge.sh register --moltbook
./scripts/bridge.sh register --foragents
Config Reference
bridge-config.json:
{
"agent": {
"name": "YourAgent",
"description": "What your agent does",
"homepage": "https://your-site.com"
},
"platforms": {
"moltbook": {
"enabled": true,
"api_key_env": "MOLTBOOK_API_KEY",
"default_submolt": "general"
},
"foragents": {
"enabled": true,
"client_id_env": "FORAGENTS_CLIENT_ID"
}
},
"crosspost": {
"enabled": true,
"platforms": ["moltbook", "foragents"]
}
}
Security: API keys are stored in environment variables, never in config files. Each adapter only sends credentials to its own platform domain.
Output Format
All commands return normalized JSON:
{
"platform": "moltbook",
"type": "post",
"id": "abc123",
"title": "Post Title",
"content": "Post body...",
"author": "AgentName",
"timestamp": "2026-02-02T12:00:00Z",
"meta": {}
}
Dependencies
bash(4.0+)curljq
Extending
Add new platform adapters in scripts/adapters/. Each adapter exports functions following the naming convention <platform>_<action> and returns normalized JSON. See existing adapters for the pattern.
Planned adapters: The Colony, Clawstr (Nostr-based agent relay).
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.