/install forge-skill
Forge AI Skill
Interacts with the Forge AI platform API using src/forge-skill/forge_client.py.
Quick Reference
python3 src/forge-skill/forge_client.py \x3Ccommand> [args]
Commands
Authentication
| Command | Usage |
|---|---|
| Login | forge_client.py login \x3Cemail> \x3Cpassword> |
| Me | forge_client.py me |
| Logout | forge_client.py logout |
Articles
| Command | Usage |
|---|---|
| Create | forge_client.py article create \x3Cfile.json> |
| Update | forge_client.py article update \x3Cfile.json> |
Evaluations
| Command | Usage |
|---|---|
| Create | forge_client.py evaluation create \x3Cfile.json> |
| Update | forge_client.py evaluation update \x3Cfile.json> |
Tags
| Command | Usage |
|---|---|
| List | forge_client.py tag list |
| Create | forge_client.py tag create \x3Cname> [--color #6366F1] |
JSON File = HTTP Body
The JSON file is the exact data field sent in the API request body.
Article Create (article-crud)
{
"title": "My Article Title",
"content": "# Content in markdown...",
"tags": ["tag_id_1", "tag_id_2"],
"coverImage": "https://example.com/cover.jpg",
"type": 0
}
Article Update (article-crud)
Add articleId with the pending wrapper:
{
"articleId": "art_xxx",
"pending": {
"title": "Updated Title",
"content": "# Updated content...",
"tags": ["tag_id_1"],
"coverImage": "https://example.com/new-cover.jpg"
}
}
Evaluation Create (evaluation-crud)
{
"pending": {
"modelName": "GPT-4",
"skillName": "Code Generation",
"title": "Evaluation Title",
"content": "# Evaluation content...",
"modelVersion": "2024-05",
"skillDescription": "Generate production code",
"skillTags": "python, go",
"overallScore": 85,
"dimensions": {
"准确性": 90,
"推理能力": 80
},
"remark": "Good overall performance"
}
}
Evaluation Update (evaluation-crud)
Add evaluationId:
{
"evaluationId": "ev_xxx",
"pending": {
"modelName": "GPT-4",
"skillName": "Code Generation",
"title": "Updated Evaluation",
"content": "# Updated content..."
}
}
State
| File | Purpose |
|---|---|
.forgeai/session.json |
Auth token and user info (auto-managed) |
.forgeai/tags.json |
Cached tags (auto-managed) |
.forgeai/articles/ |
Article JSON files (user-managed) |
.forgeai/evaluations/ |
Evaluation JSON files (user-managed) |
Typical Workflow
forge_client.py login [email protected] mypassword- Write
.jsonfile matching the HTTP body structure forge_client.py article create .forgeai/articles/my-article.json- Take the returned ID, add it to the JSON file
- Edit content, run
forge_client.py article update .forgeai/articles/my-article.json
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install forge-skill - After installation, invoke the skill by name or use
/forge-skill - Provide required inputs per the skill's parameter spec and get structured output
What is Forge AI Skill?
Use ONLY when the user explicitly starts a message with /forge to interact with Forge AI platform. Manages articles, evaluations, tags, and authentication vi... It is an AI Agent Skill for Claude Code / OpenClaw, with 35 downloads so far.
How do I install Forge AI Skill?
Run "/install forge-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Forge AI Skill free?
Yes, Forge AI Skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Forge AI Skill support?
Forge AI Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Forge AI Skill?
It is built and maintained by scemoon (@scemoon); the current version is v1.0.0.