[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ED4SRGD07MRVZFW1SQCJ07":3,"skill-same:01M7ED4SRGD07MRVZFW1SQCJ07":49},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":13,"repositoryHtmlUrl":25,"repositoryHomepageUrl":6,"ownerHtmlUrl":26,"ownerBlogUrl":6,"ownerDescription":27,"updatedAt":28,"install":29,"resources":42},"01M7ED4SRGD07MRVZFW1SQCJ07","content-brief",null,"jonahthan433\u002FCortexOS","jonahthan433","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F211465495?v=4","01M7ECH9HPHGA89DCXHHJBTS3C","jonah.ai","01M7ECH9JCEM45DZMWPT7148S1",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fproductivity\u002Fcontent-brief\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# content-brief\n\n# Content Brief — Keyword-to-Notion Brief Generator\n\nGenerates a structured SEO content brief from a target keyword. Output follows the mandatory Direction prompt format so the `text_parser.py` script can extract every field for Notion without manual cleanup.\n\n## Invocation Triggers\n\n**Explicit phrases** (any of):\n- \"create a content brief for [keyword]\"\n- \"brief this keyword: [keyword]\"\n- \"content brief on [topic]\"\n- \"generate a brief for [keyword]\"\n- \"write a brief for [keyword]\"\n- \"run the content brief skill\"\n\n**Implicit signals:**\n- User provides a keyword and asks for an SEO spec, editorial spec, or writing assignment\n- User pastes a keyword list and asks for briefs\n\nWhen triggered, run immediately — no upfront intake beyond the keyword itself.\n\n## Grill-Me Intake (One Question, Optional)\n\nRun the brief without questions when the keyword is clear.\n\nAsk **one** clarifying question only when **both** are true:\n1. The target audience or client is not inferrable from context\n2. Audience changes the content angle meaningfully (e.g., \"project management software\" could target PMs or developers)\n\n> **Quick clarification — who is the primary audience for \"[keyword]\"?**\n> 1. [Inferred persona A — e.g., HR Director]\n> 2. [Inferred persona B — e.g., Operations Manager]\n> 3. Tell me\n>\n> *Why I'm asking: audience shapes the H1, content angle, and writer notes. One question prevents a wrong brief.*\n\nMax one question. If audience is inferable, skip and proceed.\n\n## Data Gathering (Before Writing the Brief)\n\nRun these steps before generating the Direction prompt output:\n\n### Step 1 — Keyword Metrics\n**Preferred:** Ahrefs MCP (`keywords_explorer_overview`) → volume, KD, CPC, SERP data.\n\n**Fallback (no Ahrefs MCP):** Use WebSearch to estimate:\n- Search `[keyword] search volume KD CPC site:ahrefs.com OR site:semrush.com OR site:moz.com`\n- Extract available volume\u002FKD\u002FCPC estimates\n- If no data found, set VOLUME\u002FCPC\u002FDIFFICULTY to `[not available — add manually]`\n\n### Step 2 — Competitor H2\u002FH3 Analysis\n- WebSearch `[keyword]` → identify top 3 organic results (skip ads, maps, featured snippets)\n- WebFetch each URL → extract all H2 and H3 headings\n- Note: competitor structure informs the H2_OUTLINE. Do not copy — use as gap analysis.\n\n### Step 3 — Search Intent Classification\nBased on keyword + SERP type, classify as one of exactly four options:\n- `Informational` — user wants to learn\n- `Commercial` — user is comparing options before buying\n- `Transactional` — user is ready to act\u002Fpurchase\n- `Navigational` — user seeks a specific brand\u002Fsite\n\n### Step 4 — Priority Scoring\nApply routing logic from `references\u002Frouting-logic.md`:\n- HIGH: Volume > 200 AND KD \u003C 40 AND intent is Commercial or Transactional\n- MEDIUM: Doesn't meet HIGH criteria but has meaningful volume or strategic importance\n- LOW: Low volume, high difficulty, or informational with limited conversion value\n\n## Direction Prompt Output Format (Mandatory)\n\n**This format is non-negotiable.** The `text_parser.py` script performs label-exact extraction. If any label deviates from the format below — wrong case, extra space, missing underscore — the Notion property will arrive empty.\n\nAfter data gathering, output the brief using EXACTLY this structure:\n\n```\nTARGET_KEYWORD: [keyword]\nVOLUME: [number or \"not available\"]\nCPC: [decimal or \"not available\"]\nDIFFICULTY: [0-100 integer or \"not available\"]\nSEARCH_INTENT: [Informational | Commercial | Transactional | Navigational]\nAUDIENCE: [persona — job title or role]\nRECOMMENDED_H1: [final proposed title]\nCONTENT_ANGLE: [one paragraph describing the unique angle, why this beats competitors, what the post must do]\nWORD_COUNT: [number]\nSCHEMA: [schema type — e.g., FAQ, HowTo, Article, FAQ + HowTo]\nPRIORITY: [HIGH | MEDIUM | LOW]\nH2_OUTLINE:\n- H2: [heading]\n  - H3: [subheading]\n  - H3: [subheading]\n- H2: [heading]\n  - H3: [subheading]\nFAQ:\n- Q: [question the audience actually searches]\n- Q: [question]\n- Q: [question]\nINTERNAL_LINKS:\n- [anchor text] → [relative URL or page title if URL unknown]\nWRITER_NOTES:\n[one paragraph of specific guidance: tone, POV, what to avoid, key differentiators to emphasize, CTAs, any client-specific requirements]\n```\n\n**Critical rules:**\n- Every field label must appear exactly as shown (ALL_CAPS with underscores)\n- SEARCH_INTENT value must exactly match one of the four options (capitalized)\n- PRIORITY value must be exactly HIGH, MEDIUM, or LOW\n- H2_OUTLINE, FAQ, INTERNAL_LINKS, WRITER_NOTES are block fields — content follows on the next line(s)\n- No additional text before TARGET_KEYWORD or after WRITER_NOTES block\n\n## Workflow Architecture (9 Nodes)\n\n| Node | Role | Tool |\n|---|---|---|\n| 1 — Input | Accept keyword + optional client\u002Faudience context | User message |\n| 2 — Keyword Metrics | Pull volume, KD, CPC, SERP type | Ahrefs MCP OR WebSearch fallback |\n| 3 — SERP Scrape | Extract H2\u002FH3 from top 3 organic results | WebFetch |\n| 4 — Brief Generation | Process data through Direction prompt → structured output | Claude (this skill) |\n| 5 — Text Parser | Extract labeled fields → structured variables | `scripts\u002Ftext_parser.py` |\n| 6 — Conditional Router | Route based on PRIORITY value | Routing logic |\n| 7A — Notion Create (HIGH) | Create page, Status = \"Briefed: Ready for Assignment\" | Notion MCP |\n| 7B — Notion Create (MED\u002FLOW) | Create page, Status = \"Briefed: Weekly Review Queue\" | Notion MCP |\n| 8A — Slack Notify (HIGH only) | Post brief summary + Notion link to channel | Slack MCP |\n| 9 — Calendar Sync | Create linked entry in Content Calendar database | Notion MCP |\n\nIn Claude Code without MCP connectors: Nodes 1–5 run automatically. Nodes 6–9 produce a ready-to-paste summary and instruct the user on manual Notion entry.\n\n## Batch Processing Mode\n\nTrigger: user provides a CSV with a `Target Keyword` column (optional `Priority Override` column).\n\nProcess:\n1. Confirm CSV is readable and `Target Keyword` column exists\n2. Run each keyword through the full pipeline sequentially\n3. Output all briefs in sequence, separated by `---`\n4. After all briefs: output a summary table (keyword | priority | word count | schema)\n\nExpected throughput: 20 briefs in 20–25 minutes (60–75 seconds per brief).\n\nIf any keyword fails (no SERP data, ambiguous intent): note it in the summary table as `[FAILED — reason]` and continue processing remaining keywords.\n\n## Notion Push (When MCP Available)\n\nMap parser output to Notion properties using `references\u002Fnotion-schema.md`.\n\nTwo paths based on PRIORITY:\n\n**HIGH:**\n- Status → \"Briefed: Ready for Assignment\"\n- Target Publish Date → today + 14 days\n- Trigger Slack notification (Node 8A)\n\n**MEDIUM:**\n- Status → \"Briefed: Weekly Review Queue\"\n- Target Publish Date → today + 28 days\n\n**LOW:**\n- Status → \"Briefed: Weekly Review Queue\"\n- Target Publish Date → today + 42 days\n\nAfter page creation: run Calendar Sync (Node 9) to create linked entry in Content Calendar database.\n\nPre-check before creating: query Notion for existing page with same TARGET_KEYWORD. If found → route to `update_page` instead of `create_page` to prevent duplicates.\n\n## Multi-Client Setup\n\nEach client has:\n- Separate Notion integration token\n- Separate database ID\n- Client-specific Direction prompt variant (adjust audience, tone, internal link base URLs)\n\nOnboarding a new client: ~45–60 minutes to configure connector + test one brief end-to-end.\n\n## Output When Notion MCP Is Not Connected\n\nIf Notion MCP is not available, after generating the Direction prompt output, append:\n\n```\n---\nNOTION PUSH: Not connected. To add this brief to Notion manually:\n\n1. Open your Notion database\n2. Create a new page\n3. Paste the following field values:\n   [formatted summary of all extracted fields]\n\nOr run: python scripts\u002Ftext_parser.py brief.txt --output json\nto get a JSON payload ready for the Notion API.\n---\n```\n\n## Validation Gate\n\nAfter generating output, mentally verify:\n- All 11 simple fields are present and non-empty\n- SEARCH_INTENT is one of the 4 valid values\n- PRIORITY is exactly HIGH, MEDIUM, or LOW\n- H2_OUTLINE has at least 4 H2s each with at least 1 H3\n- FAQ has at least 3 questions\n- INTERNAL_LINKS has at least 2 entries\n- WRITER_NOTES is a substantive paragraph (not a placeholder)\n\nRun `scripts\u002Fbrief_validator.py` on the output file for automated validation.\n\n## Error Handling\n\n| Situation | Behavior |\n|---|---|\n| No keyword data available | Set numeric fields to \"not available\", add note in WRITER_NOTES instructing editor to verify manually |\n| SERP scrape blocked (403\u002Fpaywalled) | Skip scrape, note \"competitor outline not available\" in WRITER_NOTES, proceed with brief |\n| Ambiguous search intent | Default to Informational; flag in WRITER_NOTES: \"Intent ambiguous — verify before briefing writer\" |\n| Select value mismatch in Notion | Capitalize values exactly; Notion select is case-sensitive |\n| Duplicate keyword detected | Route to update_page instead of create_page |\n| >2 empty properties in parsed brief | Flag for manual review; do not push to Notion |\n| Batch keyword fails | Note in summary table, continue processing |\n| CSV missing Target Keyword column | Stop and ask user to confirm column name |\n\nSee `references\u002Ferror-handling.md` for full failure-point catalog.\n\n## Tooling\n\n| Script | Role |\n|---|---|\n| `scripts\u002Ftext_parser.py` | Extracts labeled fields from Direction prompt output → structured dict. `python text_parser.py brief.txt --output json` |\n| `scripts\u002Fbrief_validator.py` | Validates all required fields are present, values are in allowed sets. `python brief_validator.py brief.txt` |\n\n## References\n\n- `references\u002Fnotion-schema.md` — Notion database property config (names, types, allowed values)\n- `references\u002Frouting-logic.md` — Priority scoring rules and publish date calculations\n- `references\u002Ferror-handling.md` — Known failure points and fixes\n\n## Anti-Patterns To Reject\n\n- Deviating from the mandatory Direction prompt label format (breaks parser)\n- Using lowercase or mixed-case field labels (TARGET_KEYWORD not Target_Keyword)\n- Putting SEARCH_INTENT outside the four allowed values\n- Generating a brief without first gathering keyword + SERP data\n- Asking multiple intake questions before running\n- Writing vague WRITER_NOTES (\"write a good post about this topic\")\n- Fabricating keyword metrics when data is unavailable — always flag as \"not available\"\n- Pushing to Notion when >2 fields are empty\n",{},"main","38b32c99e7ed0b8e215d638e92cfa452c1ec3079","skills\u002Fimported\u002Fproductivity\u002Fcontent-brief","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS","https:\u002F\u002Fgithub.com\u002Fjonahthan433","AI Consultant","2026-10-24 05:13:39",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add jonahthan433\u002FCortexOS --skill content-brief",{"tool":35,"command":36},"bunx","bunx skills add jonahthan433\u002FCortexOS --skill content-brief",{"tool":38,"command":39},"pnpm","pnpm dlx skills add jonahthan433\u002FCortexOS --skill content-brief","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fproductivity\u002Fcontent-brief\u002FSKILL.md",true,[43],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"skill.json","REFERENCE","参考文档",587,"https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fproductivity\u002Fcontent-brief\u002Fskill.json",[50,56,62,68,74,80],{"skillNo":51,"name":52,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":18},"01M7EDQZDQX3Q8Y7GCQX6KN9V7","opportunity-brief","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fsales\u002Fopportunity-brief\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M7EDQYA0V9Y99VKBREJJ3MRT","morning-intel","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fmorning-intel\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M7EDQVX1JVY0B6PDHKKGM19G","decision-brief","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fdecision-brief\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7EDQV1GENZAC2SZSD8KZ3GM","weekly-review","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fweekly-review\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7EDQT2KETJ1Y3CGVN9EKW2J","system-health","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fops\u002Fsystem-health\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7EDQQN2JK3XPWMS1M4T0F3K","backup-restore","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fops\u002Fbackup-restore\u002FSKILL.md",[],[]]