← Back to Skills Marketplace
scemoon

Forge AI Skill

by scemoon · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
35
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install forge-skill
Description
Use ONLY when the user explicitly starts a message with /forge to interact with Forge AI platform. Manages articles, evaluations, tags, and authentication vi...
README (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

  1. forge_client.py login [email protected] 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
Usage Guidance
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install forge-skill
  3. After installation, invoke the skill by name or use /forge-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug forge-skill
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

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.

💬 Comments