API写作
- 作者仓库星标 0
- 作者更新于 实时读取
- 作者仓库 nano-core
- 领域
- 写作
- 兼容 Agent
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- 信任分
- 88 / 100 · 社区维护
- 作者 / 版本 / 许可
- @0-CYBERDYNE-SYSTEMS-0 · 未声明 license
- Token 消耗评级
- 低消耗
- 接入复杂程度
- 需简单配置
- 是否需要外部 API Key
- 需要 · Vendor-specific
- 兼容的系统
- 未声明(默认跨平台)
- 底层运行要求
- Python
- 文件与系统权限
-
- 只读
- 允许写入 / 修改
- Shell 执行
- 读取环境变量
- 网络行为
- 允许外网请求
- 安装命令数
- 26 条
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: kimi-writing
description: Kimi-K2.5 Writing Skill. Professional and creative writing assistant powered by Moonshot AI's Ki…
category: 写作
runtime: Python
---
# kimi-writing 输出预览
## PART A: 任务判断
- 适用问题:文章、文案、发言稿、润色或结构化表达。
- 输入要求:目标材料、限制条件、期望输出和验收方式。
- 证据边界:围绕“When to use this skill / When not to use this skill / Overview”读取原文规则,不把推断写成作者承诺。
## PART B: 执行结果
- **01** 任务判断:确认你的需求是否属于文章、文案、发言稿、润色或结构化表达,并标出输入、限制和预期结果。
- **02** 执行计划:优先按“When to use this skill / When not to use this skill / Overview”拆成步骤,说明每一步会读取什么、修改什么、产出什么。
- **03** 交付结果:给出可复制的命令、文件改动、检查清单或内容草稿,并说明如何继续迭代。
- **04** 风险边界:结合 读取文件、写入/修改文件、执行终端命令、读取环境变量、会按任务需要访问外部网络、需要准备 Vendor-specific API Key 给出执行前确认项。
## Running Rules
- 读取文件、写入/修改文件、执行终端命令、读取环境变量;会按任务需要访问外部网络;需要准备 Vendor-specific API Key。
- 先小样例验证,再放大到真实任务。
- 交付时同时给结果、检查口径和下一步迭代建议。 原文出现了 `/users` 这类斜杠命令;如果你的 Agent 支持命令触发,优先用命令开场,再补充目标和边界。
告诉 Agent 目标文件或材料、期望结果、不可改范围、是否允许联网或执行命令。本 Skill 的权限画像是:读取文件、写入/修改文件、执行终端命令、读取环境变量。
先用一个小任务确认它会围绕“When to use this skill / When not to use this skill / Overview”工作;涉及文件或命令时,先看 diff、日志、预览或测试结果。
检查最终产物是否包含明确结果、必要证据和下一步动作;如果输出泛泛而谈,就补充输入、边界和验收标准后重跑。
---
name: kimi-writing
description: Kimi-K2.5 Writing Skill. Professional and creative writing assistant powered by Moonshot AI's Ki…
category: 写作
source: 0-CYBERDYNE-SYSTEMS-0/nano-core
---
# kimi-writing
## 什么时候使用
- kimi-writing 是写作方向的技能,帮你打磨文章、稿子、内容表达 适合处理文章、文案、润色、翻译、总结和结构化表达,核心价值是把输入、判断、执行、验证和交付边界固定下来,避免 Agent 泛泛回答。 把任务拆成可执行、可检查、可…
- 面向文章、文案、发言稿、润色或结构化表达,优先处理能明确输入、步骤和验收标准的工作。
## 需要提供什么
- 目标材料、目录范围、期望结果和不可改动内容。
- 是否允许联网、执行命令、读写文件或调用外部服务。
## 执行规则
- 围绕「When to use this skill / When not to use this skill / Overview」组织步骤,不把推断写成作者事实。
- 读取文件、写入/修改文件、执行终端命令、读取环境变量;会按任务需要访问外部网络;需要准备 Vendor-specific API Key。
- 先跑小样例,确认结果可检查后再扩大任务范围。
## 输出要求
- 给出最终产物、关键证据、验证方式和下一步动作。
- 信息不足时标记 unknown,不编造命令、平台或依赖。 作者原文负责流程事实;仓库文件负责来源和命令;流狐只补充适用场景、限制和质量判断。
skill "kimi-writing" {
输入层 -> 用户目标 + 目标文件 + 禁止范围 + 验收标准
上下文层 -> When to use this skill / When not to use this skill / Overview
规则层 -> SKILL.md 触发条件 / 执行顺序 / 输出格式
运行层 -> Python | 读取文件、写入/修改文件、执行终端命令、读取环境变量 | 会按任务需要访问外部网络
安全层 -> 需要准备 Vendor-specific API Key + 小任务验证 + diff / 日志复核
输出层 -> 可复制结果 + 检查清单 + 下一步迭代
} Kimi-K2.5 Writing Skill
When to use this skill
- Use when the user request matches this skill's domain and capabilities.
- Use when this workflow or toolchain is explicitly requested.
When not to use this skill
- Do not use when another skill is a better direct match for the task.
- Do not use when the request is outside this skill's scope.
Overview
Professional and creative writing assistant powered by Moonshot AI's Kimi-K2.5 model via OpenRouter. Built for thoughtful, domain-aware content that avoids generic AI slop.
Model Details
- Model:
moonshotai/kimi-k2.5 - Architecture: 1T Mixture-of-Experts (32B active parameters)
- Context Window: 256K tokens
- Modes: Thinking (deep reasoning, t=1.0) and Instant (quick output, t=0.6)
- Multimodal: Supports text, images, and video inputs
Key Features
1. Anti-AI Slop Guardrails
Baked-in system prompt that prevents generic content farm output:
- Avoids buzzword salads and corporate speak
- Enforces specific, concrete details
- Requires natural voice and rhythm
- Varies sentence structure
- Trusts reader intelligence
2. Domain Awareness
Automatically detects and adapts to:
- Agriculture & farming
- Technology & SaaS
- Business & corporate
- Creative & narrative
- Technical documentation
- Marketing & copywriting
3. Writing Modes
- Thinking Mode: Complex reasoning, long-form, nuanced topics
- Instant Mode: Quick copy, short-form, direct outputs
- Auto-select: Chooses based on task complexity
4. Agent Swarm Ready
Can parallelize long-form writing:
- Research + write simultaneously
- Multi-section document generation
- Iterative refinement loops
Installation
cd /Users/username/clawdbot/skills/kimi-writing
uv pip install openai pydantic python-dotenv
Configuration
Set your OpenRouter API key:
export OPENROUTER_API_KEY="your-key-here"
Or create .env file:
OPENROUTER_API_KEY=sk-or-v1-...
Usage
Basic Writing
uv run scripts/write.py "write a landing page for farm tech SaaS" \
--mode thinking \
--style marketing \
--audience "farmers, agronomists"
With Context
uv run scripts/write.py "create whitepaper on precision irrigation" \
--domain agriculture \
--format pdf \
--tone authoritative
Refine Existing Text
uv run scripts/write.py refine draft.md \
--style professional \
--make-human \
--reduce-corporate-speak
Multi-Agent Workflow
uv run scripts/write.py plan "technical documentation series" \
--agent-swarm
Writing Types Supported
Professional:
- Proposals, reports, emails, memos
- Business correspondence
- Policy documents
Creative:
- Stories, narratives, scripts
- Poetry, song lyrics
- Screenplays
Website Copy:
- Landing pages, product descriptions
- About pages, mission statements
- Calls-to-action
Technical:
- Documentation, tutorials
- API references, guides
- Technical blog posts
Marketing:
- Ad copy, social posts
- Email sequences, newsletters
- Campaign materials
Research:
- Summaries, abstracts
- Literature reviews
- White papers
CLI Options
| Option | Description | Default |
|---|---|---|
--mode |
thinking or instant |
auto |
--style |
business, creative, technical, marketing |
Auto-detect |
--domain |
Industry/niche | Auto-detect |
--audience |
Target audience | General |
--tone |
formal, casual, authoritative, friendly |
Neutral |
--format |
markdown, plain, html |
markdown |
--max-tokens |
Output length | 8192 |
--temperature |
Creativity level | Mode-dependent |
--refine |
Refine existing file instead | - |
--make-human |
Humanize output flag | false |
--agent-swarm |
Enable parallel execution | false |
--dry-run |
Show plan without writing | false |
Examples
Agriculture Domain
uv run scripts/write.py \
"Write a blog post about drought-resistant corn varieties" \
--domain agriculture \
--audience "small-scale farmers" \
--tone practical \
--mode thinking
Technical Documentation
uv run scripts/write.py \
"Create API documentation for user authentication endpoints" \
--style technical \
--format markdown \
--mode thinking
Marketing Copy
uv run scripts/write.py \
"Write Instagram captions for new farm equipment launch" \
--style marketing \
--audience "farm owners" \
--tone enthusiastic \
--mode instant
Architecture
kimi-writing/
├── SKILL.md # This file
├── README.md # Quick start
├── scripts/
│ ├── write.py # Main CLI entry
│ ├── modes.py # Mode selection logic
│ ├── style_enforcer.py # Anti-slop validation
│ └── domain_analyzer.py # Niche detection
├── prompts/
│ ├── system.md # Core system prompt
│ ├── metaprompt.md # Writing metaprompt
│ └── styles/ # Domain-specific guides
│ ├── agriculture.md
│ ├── business.md
│ ├── creative.md
│ ├── marketing.md
│ └── technical.md
└── tools/
├── openrouter_client.py # API wrapper
└── writing_assistant.py # Core logic
Quality Checklist
All generated content passes through:
- ✅ Anti-slop validation
- ✅ Domain terminology check
- ✅ Audience appropriateness
- ✅ Purpose alignment
- ✅ Voice consistency
- ✅ Concrete detail requirement
Troubleshooting
Generic-sounding output:
- Increase
--make-humanflag usage - Try
thinkingmode for more nuance - Add specific domain references
Too technical/simplified:
- Adjust
--audienceparameter - Provide example text as reference
- Use
--toneflag to calibrate
Slow response:
- Switch to
instantmode - Reduce
--max-tokens - Use
--dry-runto preview first
Notes
- K2.5 excels at long-horizon reasoning tasks
- 256K context window supports large documents
- Native multimodal can analyze reference images
- Agent swarm mode for parallel execution (experimental)
Status
✅ Production Ready
- OpenRouter integration working
- Anti-slop guardrails implemented
- Domain detection functional
- CLI interface complete
Last Updated: February 4, 2026
先判断是否适合
作者设计意图
作者的方法与取舍
边界和复核