← Back to Skills Marketplace
jason513597

Ai Codegenerator

by jason513597 · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
346
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install ai-codegenerator
Description
Automatically generates code based on task descriptions, with optional context and constraints, providing plans, results, and summaries.
README (SKILL.md)

AI_CodeGenerator

Purpose

自動程式生成

Primary Agents

Coder

Notes

可單獨使用

Inputs

  • task: 要執行的任務描述
  • context: 額外上下文(可選)
  • constraints: 限制條件(可選)

Outputs

  • plan/result/report(依任務類型)
  • logs/summary

Workflow (default)

  1. Analyze task
  2. Plan subtasks
  3. Execute by role
  4. Validate result
  5. Return final summary

Safety

  • 不執行破壞性操作,除非明確授權
  • 外部動作(發送、部署到正式環境)需二次確認
  • 記錄關鍵決策與錯誤
Usage Guidance
This skill's name and docs imply a flexible code generator, but the bundled run.py only scaffolds a FastAPI app and writes files under /home/jason/.openclaw/workspace/generated/<project-name>. Before installing: (1) confirm you expect a FastAPI scaffolder (not a general code generator), (2) confirm where files will be written and whether that hard-coded path is acceptable or could overwrite data, (3) run the code in a safe sandbox first (it only writes files and prints JSON but will create directories), (4) inspect and/or run the generated code locally before deploying, and (5) note the script contains a likely runtime bug (imports UTC from datetime) and may fail — ask the author for a corrected, configurable output path and clarifications about how context/constraints are used.
Capability Analysis
Type: OpenClaw Skill Name: ai-codegenerator Version: 1.0.0 The skill contains a hardcoded absolute path to a specific user's home directory (/home/jason/.openclaw/workspace/generated) in run.py, which is a significant privacy and portability concern. While the script's current behavior is limited to generating a benign FastAPI scaffold, the use of a specific local username and the lack of input-driven logic (it ignores the 'task' content to write a static template) are unusual and potentially indicative of a targeted or poorly constructed tool.
Capability Assessment
Purpose & Capability
The skill description and SKILL.md describe a general 'automatically generates code' capability with task/context/constraints. The provided run.py, however, only creates a FastAPI project scaffold (requirements.txt, README, app/main.py) and uses the 'task' mainly to name the project. It does not implement general code generation or honor 'context'/'constraints' beyond naming. This mismatch (generic marketing vs single-purpose implementation) is disproportionate and unexplained.
Instruction Scope
SKILL.md is minimal and does not document file-system effects or output path, but run.py writes files to disk under a hard-coded path (/home/jason/.openclaw/workspace/generated/<name>). The instructions do not warn about creating or overwriting files at that location. While the actions themselves are limited to local file writes (no network/credentials), the silent filesystem writes and path choice expand scope beyond what the SKILL.md states.
Install Mechanism
There is no install specification (instruction-only skill plus a local runner script). No downloads, package installs, or external installers are declared. This is the lower-risk install pattern.
Credentials
The skill declares no required environment variables or credentials and run.py does not access environment secrets. That is proportionate to the observed functionality. Note: the script uses a hard-coded filesystem path tied to a specific username ('jason'), which is a configuration oddity but not a credentials request.
Persistence & Privilege
No 'always' privilege or elevated persistence is requested. The skill does write files to disk in a fixed directory under the running user's permissions, which is normal for a code-scaffolding tool but should be clearly documented.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ai-codegenerator
  3. After installation, invoke the skill by name or use /ai-codegenerator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
AI_CodeGenerator 1.0.0 – Initial Release - Provides automatic code generation based on user-described tasks. - Accepts task description, optional context, and constraints as inputs. - Produces a plan, results, and execution logs according to task requirements. - Features a workflow including task analysis, planning, execution, validation, and summary. - Includes safety measures to avoid destructive actions and requires confirmation for external operations. - Logs key decisions and errors for auditability.
Metadata
Slug ai-codegenerator
Version 1.0.0
License
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Ai Codegenerator?

Automatically generates code based on task descriptions, with optional context and constraints, providing plans, results, and summaries. It is an AI Agent Skill for Claude Code / OpenClaw, with 346 downloads so far.

How do I install Ai Codegenerator?

Run "/install ai-codegenerator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Ai Codegenerator free?

Yes, Ai Codegenerator is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Ai Codegenerator support?

Ai Codegenerator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Ai Codegenerator?

It is built and maintained by jason513597 (@jason513597); the current version is v1.0.0.

💬 Comments