Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add tonydzi/second-brain-starter-kit --skill grok-syncgit clone --depth 1 https://github.com/tonydzi/second-brain-starter-kitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/tonydzi/second-brain-starter-kit/grok-sync)<a href="https://agentmods.dev/skills/tonydzi/second-brain-starter-kit/grok-sync"><img src="https://agentmods.dev/badge/skills/tonydzi/second-brain-starter-kit/grok-sync/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/tonydzi/second-brain-starter-kit/grok-sync"><img src="https://agentmods.dev/badge/skills/tonydzi/second-brain-starter-kit/grok-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00096 | $0.01535 |
| Opus 5.5 | $0.00038 | $0.00614 |
| Sonnet 5.5 | $0.00019 | $0.00307 |
| Haiku 4.5 | $0.00010 | $0.00153 |
Grade A, and why
grok-sync scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OBJECTIVE: Fold a Grok data export into the vault (one note per conversation + SQLite), idempotently. Reply to Anton in Russian; end with a 🧒 «Простыми словами» recap ([[eli5-always]]).
Why this shape (read before "fixing") — canon DR26-07-15-HUB-01
Grok has NO streaming/history API (the xAI API at api.x.ai is new-generations-only). The SANCTIONED rail is the on-demand bulk export → this skill parses that export; the "recurring" part is a weekly actor: trigger export → email link → download ZIP → parse (same family as [[takeout-pull]]). Incrementality is LOCAL (conversation_id + content_hash) because Grok re-exports the FULL archive each time.
⚠️ AUP (2026-06-26): xAI forbids automated access → the reverse cookie rail (/rest/app-chat/*) stays OFF by default; only turn it on by Anton's explicit decision. This skill only ever parses an export you were given — no network.
Step 0 — Get the export (human gate, then a weekly actor)
If no fresh Grok export is on disk:
- grok.com → Settings → Data Controls → Export Data (or
accounts.x.ai/data) → email with a download link → ZIP underttl/30d/export_data/<uuid>/containingprod-grok-backend.json(+prod-mc-asset-server/for media). - Interactive X/Grok login / 2FA = HARD-STOP → escalate to Anton (never enter credentials). Download of his OWN export = pre-authorized (drive his logged-in Chrome).
- The download link is time-limited — pull it inside the window (the [[takeout-pull]] actor pattern: detect the "ready" mail, download in time).
- ⚠️ X data archive ≠ grok.com history (separate stores, confirmed by [аккаунт] 2026-07-15) — do NOT use the X archive as the rail.
Step 1 — Import (idempotent, stdlib, 0 tokens)
Point the importer at the extracted prod-grok-backend.json:
python "$HOME/Obsidian/_imports/grok/grok_lib.py" import "<path-to-prod-grok-backend.json>"
It: normalizes wrappers (conversation + responses[], mixed ISO/BSON times, human→user) → upserts into grok_conversations.db (keyed by conversation_id; re-writes only when content_hash changed) → writes ONE note per conversation under 01-Conversations/Grok/conversations/ (thinking traces in <details>) → writes _freshness.json.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed e3dcf0cf3ac8
- 1mo ago Changed · -1 lines 85314e00f56c
- 2mo ago Changed · +13 lines b5b1164a0324
- 2mo ago First seen · 47 lines · 96 tokens per session scan A fe95b5c00541
grok-sync is a skill published in the GitHub repository tonydzi/second-brain-starter-kit (16 stars, last pushed yesterday), licensed MIT. It adds 96 tokens to every session and 1,535 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-24.
grok-sync compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| grok-synctonydzi/second-brain-starter-kit | Skill | 16 | yesterday | MIT | A | 96 | Claude Code |
| setup-vault-typesmycelium-hq/ai-brain-starter | Skill | 62 | today | MIT | A | 114 | Claude Code |
| ingest-healthmycelium-hq/ai-brain-starter | Skill | 62 | today | MIT | A | 107 | Claude Code |
| superbrain-distillm3talux/superbrain | Skill | 43 | 3mo ago | MIT | A | 36 | Claude Code |
| ingestjohnfkoo951/cmds-llm-wiki | Skill | 107 | 3d ago | none | A | 56 | Claude Code, Codex |
| inboxjohnfkoo951/cmds-llm-wiki | Skill | 107 | 3d ago | none | A | 43 | Claude Code, Codex |
| email-sortingAiAi-Mastermind/aiai-mastermind-tools-and-skills | Skill | 2 | 1mo ago | MIT | A | 66 | Codex |