← 返回 Skills 市场
Article Create (
Article Update (
Evaluation Create (
Evaluation Update (
35
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install forge-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...
使用说明 (SKILL.md)
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
安全使用建议
Install only if you trust the Forge AI endpoint and are comfortable with authenticated remote content changes. Avoid typing real passwords directly in shell commands when possible, keep the workspace private, do not commit .forgeai/session.json, review JSON payloads before sending them, and run logout when finished to remove the cached token.
能力评估
Purpose & Capability
The CLI purpose is coherent with the skill description: it logs in to Forge AI and creates or updates articles, evaluations, and tags through a single Forge API endpoint. Those actions can mutate remote platform content, so the authority is meaningful but not hidden.
Instruction Scope
The description says to use the skill only for messages starting with /forge, but also lists generic trigger keywords 'forge' and 'forge-ai', which weakens the intended explicit-invocation boundary for a skill that performs authenticated API writes.
Install Mechanism
The package includes a publish.sh helper that can install the clawhub CLI globally with npm and publish the skill if manually run. It is not invoked by the runtime client, but it is auxiliary behavior outside the end-user Forge API workflow.
Credentials
Network access to the Forge AI API and local .forgeai files are proportionate to the stated article/evaluation/tag management purpose. The client reads only user-supplied JSON files and writes session, tag cache, and workspace folders.
Persistence & Privilege
Authentication is handled with a command-line password argument and the resulting token is saved in plaintext at .forgeai/session.json under the current working directory, without explicit permission hardening. Logout removes that file, but the storage model is sensitive and under-protected.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install forge-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/forge-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of Forge AI Skill.
- Enables interaction with the Forge AI platform for managing articles, evaluations, tags, and authentication.
- All commands run through `src/forge-skill/forge_client.py`.
- Requires users to start messages with /forge or related triggers.
- Provides clear command reference for login, article/evaluation CRUD, and tag management.
- Supports JSON-based workflows for API interactions and state management via local files.
元数据
常见问题
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 35 次。
如何安装 Forge AI Skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install forge-skill」即可一键安装,无需额外配置。
Forge AI Skill 是免费的吗?
是的,Forge AI Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Forge AI Skill 支持哪些平台?
Forge AI Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Forge AI Skill?
由 scemoon(@scemoon)开发并维护,当前版本 v1.0.0。
推荐 Skills