← 返回
未分类 Key 中文

hum

AI content writer that researches, outlines, drafts, publishes, and manages engagement for LinkedIn and X using your voice and style guidelines.
AI 内容写手,按您的声音与风格指南,为 LinkedIn 和 X 完成调研、策划、撰写、发布及互动管理。
jyek jyek 来源
未分类 clawhub v0.2.1 1 版本 100000 Key: 需要
★ 0
Stars
📥 377
下载
💾 0
安装
1
版本
#latest

概述

  1. Init/hum init sets up the data directory with template files (VOICE.md, CONTENT.md, AUDIENCE.md, CHANNELS.md, knowledge/index.md) and folders. After running init.py, also run bash setup.sh from the repo root to create the venv and install Python dependencies. All subsequent scripts require the venv (venv/bin/python3).
  2. Refresh feed/hum refresh-feed fetches your X home feed (via Bird filter:follows), configured X profiles, Hacker News, YouTube, and knowledge sources (RSS, sitemaps, YouTube transcripts, podcasts from knowledge/index.md) — all via direct APIs with no browser automation. Ranks items, sends a digest to Telegram, saves aggregated data to feeds.json
  3. Crawl knowledge/hum crawl independently crawls knowledge sources defined in knowledge/index.md. Saves full articles to knowledge//. Also runs as part of refresh-feed.
  4. Manage sources/hum sources adds, removes, and lists social/ephemeral feed sources in sources.json
  5. Brainstorm/hum brainstorm researches each content pillar across YouTube, X, Reddit, Hacker News, Polymarket, and web, then saves ideas to ideas.json
  6. Learn/hum learn analyzes feed trends and platform algorithms, updates context files
  7. Manage ideas/hum ideas shows the pipeline as numbered plain text. Format: 1. ID · Title · platform · status. One idea per line. No markdown tables, no bullet points, no code blocks.
  8. Review drafts/hum content lists current saved draft files and generated assets

⚠️ Always use /hum create and read VOICE.md + content-samples/ when drafting posts. Follow the create flow: research → outline → approval → draft. Do not produce a draft without an approved outline.

  1. Draft posts/hum create [platform] [type] [idea] follows a strict 4-step process:
    • Step 1 — Load context: read VOICE.md, CHANNELS.md, content-samples/, knowledge/, the idea from ideas.json
    • Step 2 — Research: 3-5 web searches (core topic, stats, contrarian, examples, adjacents); build a fact base; present findings
    • Step 3 — Propose outline: style selection (with rationale) + hook/angle/structure + research summary; do NOT write prose yet; get user approval first; style must be named and justified using STYLES.md
    • Step 4 — Write: only after outline is approved; match user's voice from content-samples/; present draft; iterate until approved
    • ⚠️ Never skip to drafting without research + outline approval — the full CREATE.md process is mandatory
  2. Refine — iterate on drafts until approved, then save
  3. Publish/hum publish posts approved drafts to LinkedIn or X via API scripts
  4. Engage/hum engage handles follow suggestions, outbound engagement plays, and replies/comments

Configuration

The skill stores all data in a configurable directory. Set the HUM_DATA_DIR environment variable:

export HUM_DATA_DIR=~/Documents/hum

If not set, defaults to ~/Documents/hum. When running inside OpenClaw, it also reads from openclaw.jsonskills.entries.hum.config.hum_data_dir (or the legacy data_dir key for existing installs).

Data Directory Structure

All user-owned data lives in :

PathPurpose
---------------
/VOICE.mdVoice, tone, and writing guidelines
/AUDIENCE.mdTarget audience definition
/CHANNELS.mdPublishing platforms and rules
/CONTENT.mdContent pillars with keywords for feed classification
/ideas/ideas.jsonBrainstormed content ideas and brainstorm config
/content/drafts/Unpublished drafts (outline → draft → ready)
/content/published/Drafts moved here after successful publish
/content/images/Generated images, cover art, diagrams
/content-samples/Real posts from the user's social media — primary voice reference
/knowledge/Reference material — auto-crawled from knowledge/index.md sources (RSS, sitemaps, YouTube transcripts, podcasts) plus user-curated notes
/knowledge/index.mdKnowledge source definitions (Key, Handler, Feed URL tables)
/feed/feeds.jsonAggregated feed — single source of truth for brainstorming
/feed/raw/Per-source JSON crawl outputs
/feed/sources.jsonSocial/ephemeral feed sources (X accounts, YouTube creators, websites) — managed via /hum sources
/feed/assets/Preference learning (rankings, feedback history, dedup tracker)

Writing Guidelines

  • Always read content-samples/ before drafting — these are real examples of the user's writing and the most authoritative reference for their voice.
  • Always read knowledge/ before drafting — any reference material the user has placed there should inform the content.
  • Always read VOICE.md for tone and style rules.

Post Types

Each post type has a defined structure. The /hum create command requires a platform and post type.

X

Post TypeFormat
-------------------
TweetSingle tweet, under 280 chars, hook-driven. Optional media.
ThreadMultiple numbered tweets, each under 280 chars. Hook in tweet 1.
ArticleLong-form post, up to 25,000 chars. Premium subscribers only. Rich text formatting, cover image, published directly to the X feed. Functions like a mini blog post. Requires cover image. Draft in full prose with H2 section headers.

LinkedIn

Post TypeFormat
-------------------
PostUnder 200 words. Short paragraphs. Opens with observation, ends with reflection/question.
ArticleLong-form, 600–1000 words. Section headers. Requires cover image and intro feed post.

Actions & Connectors

Actions live in scripts/act/, connectors in scripts/act/connectors/ (one per channel):

  • Connectors (act/connectors/):
  • x.py — X API v2 (requires credentials/x.json or X_USER_ACCESS_TOKEN env var)
  • linkedin.py — LinkedIn REST API (requires credentials/linkedin.json or env vars)
  • All connectors follow a uniform interface — see act/connectors/__init__.py for the load(platform) dispatcher
  • Actions (act/):
  • publish.py — draft parsing, preview, and publishing via connectors
  • engage.py — follows, comments, replies
  • analyze.py — account insights and post analytics
  • Browser-based actions (when API is unavailable) are handled by the agent via the browser tool.
  • Never put secrets in the skill files. Read them from credentials/x.json, credentials/linkedin.json, or env vars.

Image Generation

Images for posts are generated using the bundled image-gen library at scripts/lib/image-gen/. It provides a unified interface to multiple AI image providers:

ProviderModelEnv Var
--------------------------
gemini (default)gemini-2.5-flash-imageGEMINI_API_KEY
openaigpt-image-1OPENAI_API_KEY
grokgrok-2-imageXAI_API_KEY
minimaximage-01MINIMAX_API_KEY

API keys are set as environment variables or in openclaw.jsonenv.vars. The active provider is configured in openclaw.jsonskills.entries.hum.config.image_model (default: gemini) or via the HUM_IMAGE_MODEL env var.

When drafting, add image_prompt to the post. Calling validate(post) auto-generates the image and sets media_path. If VOICE.md has a ## Visual Style section, it is automatically appended to the image prompt.

Daily Loop

/hum loop runs the full morning workflow. See LOOP.md for the step-by-step instructions. Individual steps call scripts from scripts/ where needed.

版本历史

共 1 个版本

  • v0.2.1 当前
    2026-05-07 08:12 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Marketing Mode

thesethrose
{"answer":"营销模式整合23项全能技能,涵盖策略、心理、内容、SEO、转化优化及付费增长。适用于营销策略、文案、SEO、转化优化、付费广告及各类营销战术需求。"}
★ 161 📥 25,044
content-creation

humanizer-zh

liuxy951129-cpu
去除文本中的 AI 生成痕迹。适用于编辑或审阅文本,使其听起来更自然、更像人类书写。 基于维基百科的"AI 写作特征"综合指南。检测并修复以下模式:夸大的象征意义、 宣传性语言、以 -ing 结尾的肤浅分析、模糊的归因、破折号过度使用、三段
★ 58 📥 28,946
content-creation

Marketing Skills

jchopard69
{"answer":"获取23个营销模块,包含CRO、SEO、文案、分析、发布、广告及社媒的清单、框架与现成交付物。"}
★ 143 📥 30,654