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 forefy/.context --skill shadow-partnergit clone --depth 1 https://github.com/forefy/.contextWrote 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/forefy/.context/shadow-partner)<a href="https://agentmods.dev/skills/forefy/.context/shadow-partner"><img src="https://agentmods.dev/badge/skills/forefy/.context/shadow-partner/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/forefy/.context/shadow-partner"><img src="https://agentmods.dev/badge/skills/forefy/.context/shadow-partner.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.00034 | $0.00916 |
| Opus 5.5 | $0.00014 | $0.00366 |
| Sonnet 5.5 | $0.00007 | $0.00183 |
| Haiku 4.5 | $0.00003 | $0.00092 |
Grade A, and why
shadow-partner 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 — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.
shadow-partner
shadow-partner uses the X MCP to bring a technical persona into context, fetching common tips and alpha shared on their tweeter account to amplify specifics or methodology of a task.
Run the scripts from this skill's directory so scripts/ resolves
and output lands in the user's out/.
1. Credentials
python3 scripts/estimate.py <handle>
It reads X_API_KEY/X_API_SECRET, else a 1Password item via the op CLI
(X_OP_ITEM, default "X API"; X_OP_ACCOUNT optional). Follow the
secure-1pass-access skill for the one-shot retrieval pattern - confirm the
account and vault with the user once, then read. Any credential error points at
references/setup.md; read that file to the user's situation rather than
guessing, especially for 403 client-not-enrolled, which means the app is not
attached to a Project and no amount of retrying fixes it.
2. Estimate, then stop
The estimate costs about ten cents and prints a lifetime rate, a current rate, a
projected post count and a cost range. Show the user that range and wait for an
explicit yes. Never run pull.py on the same turn as the estimate.
State plainly, once: X has no Highlights endpoint. "Highlights" here means their
top posts ranked by engagement, which pull.py prints.
If the estimate warns about the 3,200-post ceiling, say how far back the pull will actually reach before the user approves.
3. Pull
python3 scripts/pull.py <handle> --years 2 --cap <approved>
Originals only - no retweets, no replies. Writes out/shadow_<handle>/posts.json
and prints the top 15. Pass the approved figure as --cap; it is a hard stop.
4. Mine the alpha
Read in tiers, because two years can be 1,500+ posts:
- Every post in the top decile by engagement: read in full.
- The rest: chunk ~200 posts per subagent, ask each for candidate alpha with post ids, then merge. Run the chunks in parallel.
Keep only what transfers to someone in the same field:
- named tools, and specifically how they use them
- workflows and sequences ("I always X before Y")
- heuristics with a number or a threshold attached
- failure modes they warn about, and what they do instead
- sources, datasets and people they rely on
- framings that reliably land with their audience
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 First seen · 95 lines · 34 tokens per session scan A 65532c289ae0
shadow-partner is a skill published in the GitHub repository forefy/.context (156 stars, last pushed yesterday), licensed MIT. It adds 34 tokens to every session and 916 once invoked, about $0.0001 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-10-29.
shadow-partner compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| shadow-partnerforefy/.context | Skill | 156 | yesterday | MIT | A | 34 | Claude Code, Codex |
| eresus-manual-security-auditEresusSecurity/appsec-skills | Skill | 7 | 7mo ago | Apache-2.0 | A | 145 | Claude Code, Codex |
| eresus-php-auditEresusSecurity/appsec-skills | Skill | 7 | 7mo ago | Apache-2.0 | A | 92 | Claude Code, Codex |
| eresus-sast-scannerEresusSecurity/appsec-skills | Skill | 7 | 7mo ago | Apache-2.0 | A | 100 | Claude Code, Codex |
| eresus-python-auditEresusSecurity/appsec-skills | Skill | 7 | 7mo ago | Apache-2.0 | A | 101 | Claude Code, Codex |
| eresus-remediatorEresusSecurity/appsec-skills | Skill | 7 | 7mo ago | Apache-2.0 | A | 84 | Claude Code, Codex |
| eresus-variant-analysisEresusSecurity/appsec-skills | Skill | 7 | 7mo ago | Apache-2.0 | A | 85 | Claude Code, Codex |