PromptForge
Description
PromptForge: An enterprise-grade, multi-platform Prompt Engineering framework for AI Agents. Featuring 56 structured templates across 9 domains, 118 ready-to-use presets, and native adapters for Cursor, ZCode, DeepSeek Harness, Claude, and OpenAI. Built with FastAPI Web UI & Typer CLI.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
PromptForge — 多平台 Agent 规范提示词生成框架
PromptForge 是一个专为各类 AI Agent 平台量身打造的结构化提示词生成与管理框架,提供分类清晰、可复用、动态类型校验的模板系统,并支持通过 CLI、Web UI 与 OpenAI Codex 终端直接调用。
🌟 主要特性
- 九大场景分类:内置
coding(编程开发)、analysis(数据与架构分析)、writing(工程写作与设计)、tool_use(工具调用与智能体)、conversation(交互式推理)、system(系统规则)、productivity(日常与办公)、academic(学术与科研)、presentation(演示与汇报)共 56 套工程级专业模板。 - 八大平台深度适配:针对 OpenAI/Codex、Claude、Gemini、Cursor、Windsurf、通用 Markdown、ZCode (智谱清言 GLM 智能体平台 / CodeGeeX) 以及 DeepSeek Harness (dsh / Cordis 微内核架构) 提供量身定制的格式化与能力配置。
- 双模态操作界面:
- CLI 命令行:交互式引导输入、一键生成、规则导出、Token 校验与合规性检查。
- Web 可视化界面:基于 FastAPI + 响应式前端,支持分类检索、动态表单、实时 Token 统计、一键复制与文件下载。
- 中英双语输出:原生支持中文 (
--lang zh) 与英文 (--lang en) 提示词一键切换。 - 优先级继承机制:支持在
custom_templates/目录自定义模板,同名配置自动无缝覆盖内置模板。 - Codex CLI 深度协同:通过内置
AGENTS.md指令规范,在 Codex 终端内通过自然语言即可完成规则配置。
🤖 平台支持矩阵
| 平台标识 | 适配对象 | 导出格式 | 核心能力支持 |
|---|---|---|---|
openai |
OpenAI API / Codex CLI | JSON / AGENTS.md |
Messages 消息流、Function Calling 严格 JSON Schema、Codex 项目指令 |
claude |
Anthropic Claude API | JSON / Custom Instructions | 独立的顶层 system 字段、Tool Use input_schema、Claude Projects 规范 |
gemini |
Google Gemini API | JSON | systemInstruction 结构、contents(用户/模型轮次)、functionDeclarations |
cursor |
Cursor IDE 智能体 | Markdown (.cursorrules) |
平铺角色设定、编码准则与约束,适配 Composer 与 Agent 索引 |
windsurf |
Windsurf 编辑器 | Markdown (.windsurfrules) |
适配 Codeium Cascade 记忆引擎 |
zcode |
智谱 GLM 智能体平台 / CodeGeeX | Markdown / JSON | 智谱清言智能体人设提示词、GLM-4 API 请求体、原生代码解释器与网页检索插件 |
deepseek_harness (dsh) |
DeepSeek Harness 智能体框架 | YAML / Markdown | 基于 Cordis 微内核架构的智能体预设 (Preset)、V3/R1 人设规则、文件/终端沙箱插件配置 |
markdown |
通用对话环境 | Markdown | 模块化结构,适合复制到任何 Web 对话界面 |
📦 安装与快速开始
1. 本地安装
git clone promptforge
cd promptforge
pip install -e .
2. CLI 命令行使用
# 1. 浏览所有分类及模板
promptforge list
promptforge list -c coding
#
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Awesome Llm Apps
100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI Headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agen
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI