pull-analytics-x
Skill0 starsChanged 58 days agoMITView on GitHub
Use when the user wants to pull X (Twitter) post performance data, update X analytics, or explicitly invokes /pull-analytics-x. Queries Buffer's post-metrics API for every scheduled/published X post and appends a snapshot row to its Analytics record. Requires real Buffer credentials, same as /pull-analytics.
- Reads credentials
In this repository38 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- audit-draftSkill
- check-plagiarismSkill
- critique-draftSkill
- critique-draft-substack-articleSkill
- critique-draft-substack-noteSkill
- critique-draft-xSkill
- draft-commentSkill
- draft-replySkill
- extract-hookSkill
- generate-ideasSkill
- generate-visualSkill
- generate-visual-substack-articleSkill
- generate-weekSkill
- generate-week-substackSkill
- generate-week-xSkill
- humanize-draftSkill
- interviewerSkill
- monitor-engagementSkill
- optimize-profileSkill
- plan-advocacySkill
- plan-weekSkill
- plan-week-substack-articleSkill
- plan-week-substack-noteSkill
- plan-week-xSkill
- publish-substackSkill
- pull-analyticsSkill
- repurpose-postSkill
- research-topicSkill
- review-draftsSkill
- schedule-approvedSkill
- schedule-approved-xSkill
- update-playbookSkill
- write-draftSkill
- write-draft-substack-articleSkill
- write-draft-substack-noteSkill
- write-draft-xSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
Every platform: x note in Scheduled/ or Published-Posts/ with a real buffer_post_id and a scheduled_date at least 1 day in the past.
- Very specific: line 55
Create/update Analytics/<id>.md from _Templates/Analytics-Record.md with platform: x, appending — never overwriting — a Snapshots row.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Pull Analytics X (Analytics Agent — X pipeline)
X's sibling to /pull-analytics. Same process, scoped to platform: x
notes and BUFFER_CHANNEL_ID_X.
Important constraints
Same as /pull-analytics: post-metrics is experimental on Buffer's side,
refreshed once daily, can lag ~24h. A null/missing metric is never a
zero — report it as not-yet-available.
Required environment
BUFFER_ACCESS_TOKEN (shared with the LinkedIn/X scheduler). Stop and say
so plainly if missing.
Process
1. Find posts to check
Every platform: x note in Scheduled/ or Published-Posts/ with a real
buffer_post_id and a scheduled_date at least 1 day in the past.
2. Query Buffer
Same query shape as /pull-analytics:
query {
post(input: { id: "<buffer_post_id>" }) {
id
metrics { type name value unit }
}
}Map to the Analytics table columns: impressions, reach, reactions
(X's likes), comments (X's replies), shares (X's reposts), clicks,
engagementRate. If a metric Buffer reports for X doesn't map cleanly to
these LinkedIn-shaped columns, report the raw metric name/value in
## Publishing Notes rather than forcing it into the wrong column.
3. Update publish status
Same move-to-Published-Posts/ logic as /pull-analytics, keyed off
platform: x notes.
4. Append the snapshot
Create/update Analytics/<id>.md from _Templates/Analytics-Record.md
with platform: x, appending — never overwriting — a Snapshots row.
5. Flag standout performance
Same rule as /pull-analytics: compare against this post's own prior
snapshots or other X posts specifically (not LinkedIn's baseline — the
platforms don't share a baseline). Say plainly if there isn't yet enough X
data for a meaningful comparison.
Notifications
Same triggers as /pull-analytics: a post failed to go out, or genuine
outperformance against a real X-specific baseline.
Hard rules
Identical to /pull-analytics's hard rules, platform-scoped to X.
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.

