← 返回
未分类 中文

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...
仅在用户以 /forge 开头时才使用,用于与 Forge AI 平台交互,管理文章、评估、标签和身份验证。
scemoon scemoon 来源
未分类 clawhub v1.2.0 2 版本 100000 Key: 无需
★ 1
Stars
📥 202
下载
💾 0
安装
2
版本
#latest

概述

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 <command> [args]

Commands

Authentication

CommandUsage
------
Loginforge_client.py login
Meforge_client.py me
Logoutforge_client.py logout

Articles

CommandUsage
------
Listforge_client.py article list [--name ]
Createforge_client.py article create
Updateforge_client.py article update

Lists local .forgeai/articles/ JSON files. Use --name to filter by title.

Evaluations

CommandUsage
------
Listforge_client.py evaluation list [--name ]
Createforge_client.py evaluation create
Updateforge_client.py evaluation update

Lists local .forgeai/evaluations/ JSON files. Use --name to filter by title.

Tags

CommandUsage
------
Listforge_client.py tag list
Createforge_client.py tag create [--color #6366F1]

File Upload

CommandUsage
------
Uploadforge_client.py upload [--storage-path ]

Uploads an image or file to cloud storage and returns a URL.

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

FilePurpose
------
.forgeai/session.jsonAuth token and user info (auto-managed)
.forgeai/tags.jsonCached tags (auto-managed)
.forgeai/articles/Article JSON files (user-managed)
.forgeai/evaluations/Evaluation JSON files (user-managed)

Typical Workflow

  1. forge_client.py login user@example.com mypassword
  2. Write .json file matching the HTTP body structure
  3. forge_client.py article create .forgeai/articles/my-article.json
  4. Take the returned ID, add it to the JSON file
  5. Edit content, run forge_client.py article update .forgeai/articles/my-article.json

版本历史

共 2 个版本

  • v1.2.0 当前
    2026-05-29 21:25 安全 安全
  • v1.0.0
    2026-05-29 14:23

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Marketing Skills

jchopard69
访问 23 个营销模块,提供转化率优化(CRO)、SEO、文案撰写、分析、发布、广告和社交媒体的清单、框架及可直接使用的交付物。
★ 150 📥 32,101
content-creation

humanizer-zh

liuxy951129-cpu
去除文本中的 AI 生成痕迹。适用于编辑或审阅文本,使其听起来更自然、更像人类书写。 基于维基百科的"AI 写作特征"综合指南。检测并修复以下模式:夸大的象征意义、 宣传性语言、以 -ing 结尾的肤浅分析、模糊的归因、破折号过度使用、三段
★ 65 📥 31,801
content-creation

文章去AI味工具

user_ab5ae6ee
去除文本中的AI写作痕迹,让文字读起来更像人类写作。当用户要求'去AI味'、'降AI味'、'让回复更像人话'、'润色'、'改写得更自然'时使用。检测并修复:AI高频词汇、过度结构化、虚假客观性、机械化连接词、完美主义陷阱、公式化结尾、过度修
★ 208 📥 31,509