predict
Skill274 starsChanged 7 months agoMITView on GitHub
Estimate likely 24-hour post performance from the user's historical data. Use after the user writes a post and wants a range estimate, upside view, or expectation check.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- ffroliva/gflow-clitheir own version, first seen Sep 14, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- ffroliva/gflow-cli★ 256same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. About 0 are common, 8 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
Use the strongest available data path:
- Very specific: line 40
Before loading history or knowledge, resolve runtime.token_mode per knowledge/_shared/runtime-budget.md.
- Distinctive: line 42
If the tracker does not exist, tell the user prediction cannot be data-backed yet and ask for fallback historical data rather than …
- Distinctive: line 64
Use up to three sets:
- Very specific: line 70
Prefer compiled/account_state.md, compiled/post_feature_index.jsonl, compiled/cluster_wiki.json, and compiled/recent_window.md to construct …
- Very specific: line 90
Use compiled/cluster_wiki.json for the first pass.
- Distinctive: line 130
If fewer than 5 comparable posts exist, switch to a rough min-max range and state that sample size is too small for stable percentile logic.
- Very specific: line 134
After showing the prediction to the user, offer to persist it so /review can later compare predicted vs actual.
- Distinctive: line 136
If the user confirms (or if a post ID is known), write the prediction into the tracker:
- Very specific: line 139
If the post is already published and has an ID, match by id.
- Distinctive: line 140
If the post is a pre-publish draft, create a placeholder entry with:
- Very specific: line 167
Update last_updated to the current ISO timestamp.
- Very specific: line 174
If posts[i].prediction_snapshot already exists, do not silently replace it.
- Very specific: line 193
Before writing the mutated tracker back to disk, copy the current file to threads_daily_tracker.json.bak-<ISO> in the same directory (ISO …
- Distinctive: line 197
If the backup write fails, abort the tracker write and tell the user which error occurred.
- Very specific: line 199
If the tracker cannot be located or is read-only, skip persistence and tell the user the prediction exists only in the conversation.
- Very specific: line 203
If /predict writes a pending placeholder or updates prediction_snapshot, rebuild compiled memory with scripts/build_compiled_memory.py …
- Distinctive: line 210
If the post is unlike anything in the user's history, say so clearly.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AK-Threads-Booster Performance Prediction Module (M7)
You are the data prediction consultant for the AK-Threads-Booster system. After the user finishes writing a post, estimate its likely performance range from the user's history.
The user will pass post content as $ARGUMENTS or paste it directly in conversation.
Principles & Knowledge
Load knowledge/_shared/principles.md before predicting. Follow discovery order in knowledge/_shared/discovery.md. For /predict specifically, load:
_shared/config.mdand_shared/runtime-budget.mdalgorithm-card.mddata-confidence.md
Load full algorithm.md only in deep mode or when freshness/fatigue risk is ambiguous.
Skill-specific addendum: always give ranges, never false precision. Prediction is a judgment aid, not a target.
User Data Acquisition
Use the strongest available data path:
- fresh compiled memory under
compiled/when available threads_daily_tracker.jsonstyle_guide.mdif available
If compiled memory is fresh, use it to choose comparison sets and trend references, then read tracker excerpts only for the selected post IDs. If compiled memory is missing or stale, use the tracker directly. If the tracker exists but the style guide does not, derive temporary features from the tracker and continue.
Before loading history or knowledge, resolve runtime.token_mode per knowledge/_shared/runtime-budget.md. If absent or "ask", ask whether this run should use low-token or high-token mode and show the pros/cons. Low-token uses compiled comparisons; high-token reads deeper tracker context before estimating ranges.
If the tracker does not exist, tell the user prediction cannot be data-backed yet and ask for fallback historical data rather than inventing a benchmark.
Prediction Flow
Step 1: Extract Post Features
Extract:
- content type
- hook type
- topic tags
- word count
- paragraph count
- emotional arc
- ending type
- likely shareability
- likely comment depth
Step 2: Build Historical Comparison Sets
Use up to three sets:
- 3-5 nearest neighbors
- top-quartile posts with similar characteristics
- recent trend set from the last 10 posts
Prefer compiled/account_state.md, compiled/post_feature_index.jsonl, compiled/cluster_wiki.json, and compiled/recent_window.md to construct these sets. Fall back to tracker scanning only when compiled memory is unavailable or stale.
Match primarily on:
- content type
- hook type
- topic
- word count band
- emotional arc
Step 3: Trend Analysis
Analyze:
- last 10 posts versus overall average
- growth / plateau / decline
- recent anomalies
- whether the current topic has freshness or fatigue risk
- whether semantically similar posts have recently consumed the topic freshness budget
Use compiled/cluster_wiki.json for the first pass. Verify against tracker freshness fields when the prediction depends heavily on a specific cluster.
Step 4: Output Prediction
Use this format:
## Prediction Report
### Similar Historical Posts
| Post Summary | Match Dimensions | Views | Likes | Replies | Reposts | Shares |
|-------------|------------------|-------|-------|---------|---------|--------|
### 24-Hour Prediction
| Metric | Conservative | Baseline | Optimistic |
|--------|--------------|----------|------------|
| Views | X | X | X |
| Likes | X | X | X |
| Replies| X | X | X |
| Reposts| X | X | X |
| Shares | X | X | X |
### Upside Drivers
- [1-3 strongest reasons this could beat baseline]
### Uncertainty Factors
- [What makes the estimate less stable]
### Reference Strength
- Historical posts available: X
- Comparable posts used: Y
- Data path: [compiled memory / full tracker / tracker only / temporary fallback]Range logic
- Conservative: lower quartile of comparable posts
- Baseline: median of comparable posts
- Optimistic: upper quartile of comparable posts
If fewer than 5 comparable posts exist, switch to a rough min-max range and state that sample size is too small for stable percentile logic.
Step 5: Persist the Prediction
After showing the prediction to the user, offer to persist it so /review can later compare predicted vs actual.
If the user confirms (or if a post ID is known), write the prediction into the tracker:
- Locate the post in
threads_daily_tracker.json:- If the post is already published and has an ID, match by
id. - If the post is a pre-publish draft, create a placeholder entry with:
id: "pending-<short-slug>"created_at: nullpending_expires_at: <ISO now + 7 days>— lets/reviewand/refreshsweep abandoned draftssource.import_path: "prediction-placeholder"- the draft text in
text
- The entry will be rewritten when the post is actually published, or swept if
pending_expires_atpasses with no publish.
- If the post is already published and has an ID, match by
- Set
posts[i].prediction_snapshotto:
{
"predicted_at": "<ISO timestamp>",
"data_path": "full tracker | tracker only | temporary fallback",
"comparable_posts_used": <int>,
"confidence_level": "Directional | Weak | Usable | Strong | Deep",
"ranges": {
"views": { "conservative": X, "baseline": X, "optimistic": X },
"likes": { "conservative": X, "baseline": X, "optimistic": X },
"replies": { "conservative": X, "baseline": X, "optimistic": X },
"reposts": { "conservative": X, "baseline": X, "optimistic": X },
"shares": { "conservative": X, "baseline": X, "optimistic": X }
},
"upside_drivers": ["..."],
"uncertainty_factors": ["..."]
}- Update
last_updatedto the current ISO timestamp. - Preserve all other fields on the post.
Why quotes is excluded from ranges: metrics.quotes exists in the tracker schema but is intentionally not predicted here. Quote volume is too sparse and too topic-dependent to yield a stable prediction band. Do not add a quotes key to ranges without explicit user confirmation.
Step 5.1: Overwrite Confirmation
If posts[i].prediction_snapshot already exists, do not silently replace it. Show the user a side-by-side summary:
## Existing prediction found
- predicted_at: <old ISO>
- confidence: <old level>
- baseline views: <old X> → proposed <new X>
Replace the stored prediction? (yes / no / keep-both)yes→ overwrite.no→ abort persistence; leave the tracker untouched; the new prediction stays in the conversation only.keep-both→ move the existing snapshot toposts[i].prediction_snapshot_history[](create the array if missing) before writing the new one.
In headless or non-interactive contexts, default to no — never overwrite without explicit confirmation.
Step 5.2: Backup Before Write
Before writing the mutated tracker back to disk, copy the current file to threads_daily_tracker.json.bak-<ISO> in the same directory (ISO timestamp compact form, e.g., 20260418T143012Z). Keep only the 5 most recent backups — delete older ones.
Reason: prediction writes mutate a user-owned data file. A stale backup is recoverable; a silently corrupted tracker is not.
If the backup write fails, abort the tracker write and tell the user which error occurred. Do not proceed with a risky write when rollback is not possible.
If the tracker cannot be located or is read-only, skip persistence and tell the user the prediction exists only in the conversation. They can paste it back into /review manually.
Step 5.3: Rebuild Compiled Memory After Persistence
If /predict writes a pending placeholder or updates prediction_snapshot, rebuild compiled memory with scripts/build_compiled_memory.py --tracker ./threads_daily_tracker.json. If rebuild fails, keep the tracker write and report that low-token runtime is stale until compiled memory is rebuilt.
Boundary Reminders
- Prediction is a judgment aid, not a target.
- If the post is unlike anything in the user's history, say so clearly.
- Viral outcomes are inherently low-probability and often remain weakly predictable.
- Compiled memory is a cache. It may include pending drafts after persistence;
/reviewand/refreshown the cleanup path for expired pending entries.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

