论文部署
- 作者仓库星标 37
- 作者更新于 实时读取
- 作者仓库 GENesis-AGI
- 领域
- 通用
- 兼容 Agent
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- 信任分
- 88 / 100 · 社区维护
- 作者 / 版本 / 许可
- @WingedGuardian · 未声明 license
- Token 消耗评级
- 低消耗
- 接入复杂程度
- 需简单配置
- 是否需要外部 API Key
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 底层运行要求
- 无特殊要求
- 文件与系统权限
-
- 只读
- 允许写入 / 修改
- Shell 执行
- 网络行为
- 仅限本地
- 安装命令数
- 26 条
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: content-publish
description: > EVERY piece of content MUST go through the voice-master skill before publishing. This is a har…
category: 通用
runtime: 无特殊运行时
---
# content-publish 输出预览
## PART A: 任务判断
- 适用问题:通用任务拆解、检查和交付。
- 输入要求:目标材料、限制条件、期望输出和验收方式。
- 证据边界:围绕“Voice (MANDATORY — NON-NEGOTIABLE) / Overview / Prerequisites”读取原文规则,不把推断写成作者承诺。
## PART B: 执行结果
- **01** 任务判断:确认你的需求是否属于通用任务拆解、检查和交付,并标出输入、限制和预期结果。
- **02** 执行计划:优先按“Voice (MANDATORY — NON-NEGOTIABLE) / Overview / Prerequisites”拆成步骤,说明每一步会读取什么、修改什么、产出什么。
- **03** 交付结果:给出可复制的命令、文件改动、检查清单或内容草稿,并说明如何继续迭代。
- **04** 风险边界:结合 读取文件、写入/修改文件、执行终端命令、主要在本地完成、通常不需要额外 API Key 给出执行前确认项。
## Running Rules
- 读取文件、写入/修改文件、执行终端命令;主要在本地完成;通常不需要额外 API Key。
- 先小样例验证,再放大到真实任务。
- 交付时同时给结果、检查口径和下一步迭代建议。 原文没有稳定的斜杠命令要求。安装验证后通常全局生效,直接在对话里点名这个 Skill 并描述任务即可。
告诉 Agent 目标文件或材料、期望结果、不可改范围、是否允许联网或执行命令。本 Skill 的权限画像是:读取文件、写入/修改文件、执行终端命令。
先用一个小任务确认它会围绕“Voice (MANDATORY — NON-NEGOTIABLE) / Overview / Prerequisites”工作;涉及文件或命令时,先看 diff、日志、预览或测试结果。
检查最终产物是否包含明确结果、必要证据和下一步动作;如果输出泛泛而谈,就补充输入、边界和验收标准后重跑。
---
name: content-publish
description: > EVERY piece of content MUST go through the voice-master skill before publishing. This is a har…
category: 通用
source: WingedGuardian/GENesis-AGI
---
# content-publish
## 什么时候使用
- 把通用方向的常用动作沉淀成 Agent 可调用的技能 适合处理通用任务拆解、检查、交付和复盘,核心价值是把输入、判断、执行、验证和交付边界固定下来,避免 Agent 泛泛回答。 把任务拆成可执行、可检查、可继续迭代的步骤;通常不需要额外…
- 面向通用任务拆解、检查和交付,优先处理能明确输入、步骤和验收标准的工作。
## 需要提供什么
- 目标材料、目录范围、期望结果和不可改动内容。
- 是否允许联网、执行命令、读写文件或调用外部服务。
## 执行规则
- 围绕「Voice (MANDATORY — NON-NEGOTIABLE) / Overview / Prerequisites」组织步骤,不把推断写成作者事实。
- 读取文件、写入/修改文件、执行终端命令;主要在本地完成;通常不需要额外 API Key。
- 先跑小样例,确认结果可检查后再扩大任务范围。
## 输出要求
- 给出最终产物、关键证据、验证方式和下一步动作。
- 信息不足时标记 unknown,不编造命令、平台或依赖。 作者原文负责流程事实;仓库文件负责来源和命令;流狐只补充适用场景、限制和质量判断。
skill "content-publish" {
输入层 -> 用户目标 + 目标文件 + 禁止范围 + 验收标准
上下文层 -> Voice (MANDATORY — NON-NEGOTIABLE) / Overview / Prerequisites
规则层 -> SKILL.md 触发条件 / 执行顺序 / 输出格式
运行层 -> 无特殊运行时 | 读取文件、写入/修改文件、执行终端命令 | 主要在本地完成
安全层 -> 通常不需要额外 API Key + 小任务验证 + diff / 日志复核
输出层 -> 可复制结果 + 检查清单 + 下一步迭代
} Voice (MANDATORY — NON-NEGOTIABLE)
EVERY piece of content MUST go through the voice-master skill before publishing. This is a hard requirement, not a suggestion. The voice-master skill is TWO parts — both must be applied:
- Exemplar matching (tone, vocabulary, rhythm from real user writing)
- Anti-AI-slop pass (em dashes, hedge words, uniform structure, banned phrases)
If content was not drafted with voice-master, apply it NOW before publishing. Do NOT publish content that hasn't passed both checks. Invoke the voice-master skill explicitly — do not attempt to apply voice rules from memory or inline.
Overview
Single skill that covers the full publish pipeline: topic → research → draft → approval → publish. Uses voice-master for drafting, browser MCP tools for publishing, and Telegram for approval.
Medium is the only platform currently wired. The pattern extends to other platforms by swapping the publish step.
Prerequisites
- Medium login active in Camoufox profile (
~/.genesis/camoufox-profile/) - Medium username configured in
~/.genesis/config/distribution.yaml - Voice-master skill available (exemplars at
~/.claude/skills/voice-master/) - Narrative reference card at
~/.genesis/config/genesis-narrative.md - Stealth-browser skill (
src/genesis/skills/stealth-browser/SKILL.md) — MUST load before any browser interaction. Covers anti-detection timing, honeypot avoidance, and the VNC trusted input technique for Cloudflare Turnstile.
Browser Rules
- Always use Camoufox (default). Never pass
stealth=Falsetobrowser_navigate. Chromium has SSL cert issues and no anti-detection. - Never give up at Turnstile. The browser tool handles it automatically (3-phase: auto-resolve → VNC click → human alert). If you see Turnstile in the response, the tool is ALREADY handling it. Wait and retry.
- Camoufox works fine. Any memory claiming "glxtest issues" or "Camoufox broken" is stale/hallucinated (debunked May 2026). Ignore it.
- Expect to succeed. The pipeline is wired and working. Your job is to persist through transient failures, not to declare failure after one attempt.
Workflow
Step 1 — Determine topic and platform
If the caller provides a topic, use it. If not, check these sources:
- Ego proposal (if dispatched via
publish_contentaction) - Recent recon findings (
recon_findingsMCP) - Knowledge base for trending topics in the user's domain
Platform is Medium unless specified otherwise.
Output: One sentence describing the topic and angle.
Step 2 — Load context
Read these files (do NOT skip any):
~/.genesis/config/genesis-narrative.md— framing, key phrases- Voice-master exemplar index (
~/.claude/skills/voice-master/exemplars/index.md) - Select 3-5 matching exemplars based on medium (long-form), tone, and formality 4 (public content)
Step 3 — Research (if needed)
For topics requiring facts or current data:
- Use
WebSearchfor recent developments - Use
knowledge_recallfor existing Genesis knowledge - Use
recon_findingsfor competitive intelligence
Skip for opinion/thought-leadership pieces where the user's perspective is the content.
Step 4 — Draft
Write the content following voice-master rules:
- Evidence-first, not windup
- Mix short punchy statements with longer reasoning
- No AI-tell words (delve, leverage, robust, seamless, etc.)
- Em-dashes:
--no spaces, prefer comma/period/colon first, max 1-2 - Formality 4 for public Medium posts
- Read each paragraph aloud mentally — if it sounds like AI, rewrite
Structure for Medium:
- Title: short, specific, no clickbait
- Body: 3-8 paragraphs. No headers for short posts. Headers for 1000+ words.
- No hashtags, no "follow me", no CTAs unless genuinely relevant
Output: Complete draft with title on the first line, body below.
Step 5 — Quality check
Before submitting for approval, verify:
- No banned AI-tell words or phrases
- No three-part lists with identical grammatical structure
- No sycophantic openers or hedging
- Em-dash count ≤ 2 for the whole post
- Reads like a person thinking, not a polished AI response
- Title is specific and interesting, not generic
- Content matches the narrative framing (genesis-narrative.md)
If any check fails, rewrite the failing section.
Step 6 — Submit for approval
Send the draft to the user via Telegram (outreach_send MCP) with:
- The full draft text
- Platform: Medium
- Ask: "Approve to publish? Reply 'yes', 'no', or send edits."
Wait for user response. Do NOT publish without explicit approval.
If the user sends edits, apply them and re-submit. If the user says no, stop. Store the draft in memory for potential future use.
Step 7 — Publish to Medium
Follow the stored procedure (medium_browser_publish). The key steps:
- Navigate to
https://medium.com/new-story(Camoufox, always) - Verify editor loaded (snapshot should show "Title" heading)
- Click the h3 title element, type title via
browser_fill - Press Enter to move to body
- Build full article HTML in JS on
window.__articleHTML - Use clipboard API to write content:
navigator.clipboard.write([new ClipboardItem({ 'text/html': new Blob([window.__articleHTML], {type: 'text/html'}), 'text/plain': new Blob([plainText], {type: 'text/plain'}) })]) - Focus body paragraph, paste via
browser_press_key("Control+v") - Verify content with snapshot before proceeding
- Click Publish button, add topics if desired, confirm publish
- Verify via URL change to
?postPublishedType=initial
CRITICAL: What does NOT work (do not attempt):
document.execCommand('insertText')— silently fails in Medium editordocument.execCommand('insertHTML')— stripped by Medium's sanitizer- Synthetic
ClipboardEventdispatch — Medium ignores synthetic events - Only real clipboard paste via
navigator.clipboard.write()+Ctrl+Vworks
If any step fails: Take a screenshot, report the error, do NOT retry blindly. The editor selectors may have changed.
Step 8 — Report result
Send the published URL to the user via Telegram.
Store the outcome in memory:
memory_storewith tags:["content", "published", "medium"]- Content: topic, URL, date, any engagement data later
Error Handling
| Error | Action |
|---|---|
| Not logged in to Medium | Return error. User must VNC login (one-time). |
| Cloudflare Turnstile | Handled automatically by browser_navigate. The solver cascade (auto-resolve → widget click → VNC fallback) runs without intervention. Do NOT switch browsers, try TinyFish, or give up — Camoufox resolves it. |
| Editor selectors changed | Screenshot + report. Do NOT guess new selectors. |
| Draft quality check fails | Rewrite, max 2 attempts, then submit for manual review. |
| Telegram approval timeout | Store draft as pending. Do not publish. |
What This Skill Does NOT Do
- Auto-publish without approval (every post needs explicit "yes")
- Schedule posts (use ego cadence for timing decisions)
- Cross-post to other platforms (separate skill per platform)
- Generate images or media (text-only for now)
- Analytics tracking (future: content-analytics skill)
Examples
Direct invocation
User: "Publish a Medium post about why most AI agent benchmarks are useless"
Action: Skip research (opinion piece) → load voice-master + narrative → draft at formality 4 → quality check → Telegram approval → publish → report URL.
Ego-dispatched
Ego proposal: {"action": "publish_content", "topic": "earned autonomy", "platform": "medium", "angle": "why trust frameworks matter more than capability frameworks"}
Action: Load narrative → light research (knowledge_recall for autonomy subsystem details) → draft → quality check → Telegram approval → publish → store outcome for ego learning.
先判断是否适合
作者设计意图
作者的方法与取舍
边界和复核