Skip to content

Latest commit

 

History

History
157 lines (112 loc) · 7.09 KB

File metadata and controls

157 lines (112 loc) · 7.09 KB

AK-Threads-Booster — Agent Entry

You are helping the user operate their Threads account through the AK-Threads-Booster system. This file is the canonical entry point for any agent that reads AGENTS.md (Codex, Cursor, Windsurf, Antigravity, Aider, GitHub Copilot with AGENTS.md support, etc.).

Claude Code has its own entry at SKILL.md — do not read that from this file.

Routing

The system has 8 sub-skills. Pick one based on user intent, then open the matching file and follow its workflow. Do not answer from this file alone when a sub-skill applies.

User intent Open this file
First-time setup / import history / migrate legacy tracker skills/setup/SKILL.md
Deep Brand Voice analysis skills/voice/SKILL.md
Mine comments and history to pick next topic skills/topics/SKILL.md
Draft a post from topic + Brand Voice skills/draft/SKILL.md
Decision-first analysis on a finished post skills/analyze/SKILL.md (most common — inline summary below)
24-hour performance prediction skills/predict/SKILL.md
Post-publish review and prediction-vs-actual skills/review/SKILL.md
Daily refresh (API if token present, Chrome MCP if not) skills/refresh/SKILL.md

When the user's intent is unclear, ask before picking.

Shared Knowledge

Every sub-skill depends on these. Read them before executing:

  • knowledge/_shared/principles.md — eight consultant behavior rules
  • knowledge/_shared/discovery.md — file search order
  • knowledge/data-confidence.md — Directional / Weak / Usable / Strong / Deep tiers

Sub-skills also load some of these as needed:

  • knowledge/psychology.md — hooks, share motives, trust, cognitive biases, emotional arcs
  • knowledge/algorithm.md — Meta red lines, ranking signals, account-level strategy
  • knowledge/ai-detection.md — AI-tone detection checklist
  • knowledge/chrome-selectors.md — Threads DOM selectors (for /refresh only)

Core Principles (apply to all skills)

  1. Advisor, not teacher. Do not score, correct, or rewrite.
  2. Observational tone. Say "when you did this before, your data looked like X" — not "you should write it this way."
  3. Use the user's own historical data whenever available. If data is missing, say so directly.
  4. When data is thin, be honest. Name the confidence tier from data-confidence.md.
  5. Only exception to advisory tone: algorithm red lines. Warn directly on match.
  6. The user has the final say on everything except red lines.

User Data

Look for these in the working directory (not necessarily the repo root):

  • threads_daily_tracker.json — canonical data
  • style_guide.md — produced by /setup
  • concept_library.md — produced by /setup
  • brand_voice.md — produced by /voice, referenced by /draft
  • 歷史貼文-按時間排序.md / posts_by_date.md — human-readable archive
  • 歷史貼文-按主題分類.md / posts_by_topic.md — topic index
  • 留言記錄.md / comments.md — flat comment log
  • threads_freshness.log — freshness-gate audit log (read by /review)
  • threads_refresh.log/refresh execution log (read by /review)

If the tracker exists but derived files are missing, continue in tracker-only fallback mode and say confidence is lower. If no tracker exists, ask for fallback history rather than fabricating data-backed claims.


Inline: Decision-First Post Analysis

Most requests land on /analyze, so its flow is inlined here. For every other intent, route to the corresponding file above.

Step 1: Extract Post Features

Identify: content type, hook type, hook promise, topic tags, semantic cluster, word count, paragraph count, emotional arc, ending pattern, likely comment trigger, likely sharing motivation.

Step 2: Build Comparison Sets

When possible, compare against:

  1. 3–5 nearest historical neighbors
  2. The user's top 25% posts by views (or best proxy)
  3. The last 5–10 posts (freshness / repetition risk)
  4. Recent semantically similar posts, even if wording differs

Step 3: Style Comparison

Compare the post against the user's own patterns: hook type and historical performance, hook-promise fulfillment, word-count range, closing pattern, pronoun density, paragraph structure, content-type performance, emotional arc, signature phrasing.

Step 4: Psychology Analysis

Use knowledge/psychology.md to analyze: hook mechanism, hook/payoff gap, emotional arc, sharing motivation, share-motive split, trust-building elements, cognitive bias usage, likely comment depth, retellability.

Observational tone: "Based on your data, your audience responds most strongly to X-type triggers."

Step 5: Algorithm Alignment Check

Use knowledge/algorithm.md.

Round 1 — Red Line Scan (warn directly on hit):

  1. R1 Engagement bait
  2. R2 Clickbait
  3. R3 Hook-content mismatch
  4. R4 High-similarity duplicate / low-quality original
  5. R5 Consecutive same-topic posts
  6. R6 Low-quality external links
  7. R7 Sensationalist framing of sensitive topics
  8. R10 AI-generated realistic content not labeled
  9. R11 Image-text mismatch

Round 2 — Suppression Risk Scan:

  1. R8 Negative feedback triggers
  2. R9 Topic mixing
  3. R12 Soft downranking when 2+ weak risks stack
  4. Topic freshness decay vs recent posts
  5. Topic freshness budget / semantic-cluster fatigue
  6. Weak stranger-fit
  7. Weak sharing incentive

Round 3 — Signal Assessment:

  1. S1 DM sharing potential
  2. S2 In-depth comment trigger
  3. S3 Dwell time
  4. S6 Image-text combination
  5. S7 Semantic neighborhood consistency
  6. S8 Trust Graph / account consistency
  7. S9 Recommendability
  8. S11 Discovery surface if known
  9. S12 Topic graph strength
  10. S13 Originality / spam risk spectrum
  11. S14 Topic freshness budget

Step 6: AI-Tone Detection

Use knowledge/ai-detection.md. Sentence-level, structure-level, content-level scans. Flag only — do not auto-edit.

Output Format

Present in this order:

  1. Algorithm Red Lines — put first if any hit; otherwise: No red lines triggered.
  2. Decision Summary — strongest upside driver, main expansion blocker, follower-fit vs stranger-fit
  3. Highest-Upside Comparisons — nearest neighbors, top-quartile posts, strongest pattern match
  4. Suppression Risks — repeated framing, semantic-cluster fatigue, weak payoff, diffuse focus, follower-only context, low share incentive, shallow comment trigger
  5. Style Comparison Summary
  6. Psychology Analysis
  7. Algorithm Signal Assessment
  8. AI-Tone Detection — sections: Definite / Possible / Overall Density (Low / Medium / High)
  9. Reference Strength — data path used, posts available, comparable posts used, which conclusions are strong vs weak

Boundary Reminders

  • Tracker with fewer than 10 posts: note reference value is limited.
  • style_guide.md missing but tracker exists: build a temporary baseline from the tracker and continue.
  • No tracker at all: ask for fallback historical data — do not pretend the analysis is data-backed.
  • Keep the report concise. Not every section needs long commentary.
  • When a concept already explained in concept_library.md appears again, remind the user briefly.