syndicate-export

syndicate-export is a skill for Claude Code from aadarshvelu/syndicate. It costs 31 tokens per session (527 once invoked), scanned A, original, MIT.

A skill that exports today’s and the previous three days’ news-digest items to a Git repository, then pushes the changes remotely. Git is a system for tracking code and file changes.

In plain words
What is it for?
Use it to archive recent Syndicate digest items in the news-archive repository and push the result.
Why use it?
It automates the otherwise manual work of copying digest items into an archive, committing them, and sending the commit to the remote repository.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the syndicate-pipeline plugin — 11 skills shipped together

Install

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.

agentmods
npx agentmods add skills/aadarshvelu/syndicate/syndicate-export
Any agent
npx skills add aadarshvelu/syndicate --skill syndicate-export
Clone the repo
git clone --depth 1 https://github.com/aadarshvelu/syndicate

Made for: Claude Code.

Or install syndicate-pipeline, the plugin that ships this one along with the rest of its 11 skills.

Wrote 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.

agentmods badge for syndicate-export

README.md
[![agentmods](https://agentmods.dev/badge/skills/aadarshvelu/syndicate/syndicate-export.svg)](https://agentmods.dev/skills/aadarshvelu/syndicate/syndicate-export)
Your own site
<a href="https://agentmods.dev/skills/aadarshvelu/syndicate/syndicate-export"><img src="https://agentmods.dev/badge/skills/aadarshvelu/syndicate/syndicate-export.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 527 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.00527
Opus 5 $0.00015 $0.00264
Sonnet 5 $0.00006 $0.00105
Haiku 4.5 $0.00003 $0.00053

Measured 5d ago against content hash e7d8c0b965cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

syndicate-export 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 5d 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.

skills/syndicate-export/SKILL.md · 57 lines

What it actually says

/syndicate-export

You are exporting the digest to the news-archive git repo and pushing it remotely. External side-effect — only run when the user explicitly asked.

Step 1 — preflight

Run status and confirm:

  • env_present.FEED_REPO_URL is true
  • env_present.FEED_REPO_PAT is true

If either is missing, tell the user which one and stop. The export will fail at the git push step otherwise, but the items will already have been written to the local news-archive working tree, leaving them in a half-committed state.

Step 2 — export

Run:

cd "${SYNDICATE_REPO:-$(pwd)}" && uv run python -m pipeline.cli export

Output envelope:

{"ok": true, "result": {"exported_today": N, "exported_yesterday": N, "committed": true, "pushed": true, "errors": []}, "log_path": "..."}

Step 3 — report

One line:

✓ export · today=+X yesterday=+Y · committed · pushed

exported_today and exported_yesterday only count the most recent two days for backwards compatibility — but the underlying export now writes the last 4 days as a window (so post-outage catch-up doesn't drop items on the floor). If both are 0 and committed=false, the run was a no-op because all items in the window are already in the remote repo.

If pushed=false but committed=true, the local repo got the commit but git push origin main failed (auth, network, or remote ahead). The user can usually fix by running git -C <news-archive-path> push manually.

Changes

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.

  1. 5d ago First seen · 57 lines · 31 tokens per session scan A e7d8c0b965cb

Subscribe to this mod's changes

syndicate-export is a skill published in the GitHub repository aadarshvelu/syndicate (2 stars, last pushed 3mo ago), licensed MIT. It adds 31 tokens to every session and 527 once invoked, about $0.0002 per session on Opus 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-08-31.