newsjack
AGENTS.md1.5k starsChanged 3 months agoMITView on GitHub
Guidance for coding agents working in this repo. Keep Newsjack as stateless as practical. Durable state creates hidden baggage on users' machines, makes behavior harder to reason about, and slows iteration. Open discovery, strict surfacing. Keep the Go CLI a
Trending
Quiet since September.thin dataabout the whole repository
Who's talking about elvisun/newsjack
- @yug1224.com“AIエージェントをPRチーム化して広報活動を自動化するオープンソースツールっぽい マーケティング業務の効率化に試したい yug1224 starred elvisun/newsjack …”Bluesky · Sep 22, 2026 · 2 likes
- A Hacker News story“Show HN: Newsjack.sh – Open-source skills to turn any agent into a full PR team”Hacker News · Jun 9, 2026 · 2 points
- bobymor1-dev/hermes-component-radar“Newsjack — Reserva: vigilancia de noticias y prensa sin necesidad demostrada”GitHub · Sep 30, 2026
- sudosubin/agents.nix“agent-skills.github.elvisun.newsjack: init at 0.1.19”GitHub · Sep 27, 2026
- Bthornton1994/Manipulation-score“Integrate Newsjack as a pinned operator component with a versioned capture”GitHub · Sep 26, 2026
The biggest 5 of 6 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 6
Talked about on GitHub, Hacker News and Bluesky (6 times).
On GitHub · 4
- Sep 30, 2026Newsjack — Reserva: vigilancia de noticias y prensa sin necesidad demostrada — bobymor1-dev/hermes-component-radar0 reactions
- Sep 27, 2026agent-skills.github.elvisun.newsjack: init at 0.1.19 — sudosubin/agents.nix0 reactions
- Sep 26, 2026Integrate Newsjack as a pinned operator component with a versioned capture — Bthornton1994/Manipulation-score0 reactions · 1 comment
- Sep 18, 2026epic(ai): where Jev typed decisions apply beyond headline classification (13 use cases, ranked) — koala73/worldmonitor0 reactions · 2 comments
On Hacker News · 1
On Bluesky · 1
- Sep 22, 2026AIエージェントをPRチーム化して広報活動を自動化するオープンソースツールっぽい マーケティング業務の効率化に試したい yug1224 starred elvisun/newsjack https://github.com/elvisun/newsjack — @yug1224.com2 likes and reposts
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository31 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ai-visibility-panel-designSkill
- ai-visibility-writingSkill
- angle-generatorSkill
- build-ai-visibility-panelSkill
- buyer-job-intent-analysisSkill
- coverage-tracker-setupSkill
- coverage-trackerSkill
- crisis-holdingSkill
- fact-checkSkill
- find-journalistsSkill
- headline-generatorSkill
- icp-evidence-analysisSkill
- journalist-fit-checkSkill
- meanest-editorSkill
- newsjack-detectorSkill
- newsjack-monitor-setupSkill
- newsjack-triageSkill
- news-searchSkill
- newsworthiness-checkSkill
- pr-calendarSkill
- press-clipSkill
- prompt-proximity-architectureSkill
- prompt-set-qaSkill
- pr-strategistSkill
- reactive-commentSkill
- realistic-prompt-generationSkill
- relevance-coarse-filterSkill
- same-outlet-rankerSkill
- story-origin-checkSkill
- voice-extractorSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
21 rules. About 0 are common, 14 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
Keep Newsjack as stateless as practical.
- Distinctive: line 28
Prefer explicit user-owned files, command inputs, and per-run artifacts over background memory.
- Distinctive: line 29
If something can be regenerated with one prompt or one cheap deterministic command, do not save it as durable state.
- Distinctive: line 30
If an LLM can derive something from live evidence in one prompt, prefer keeping that derivation in the skill/prompt layer instead of …
- Distinctive: line 32
Do not persist model-inferred topics, learned assumptions, ranking preferences, or other agent guesses unless the user explicitly promotes …
- Distinctive: line 33
When state is necessary, make it inspectable, portable, and easy to delete.
- Distinctive: line 67
Do not add or expand CLI report rendering unless it is strictly a compatibility/debug path.
- Very specific: line 96
Do not commit .tmp/, fixture runs/, local databases, .claude/, .next/, node_modules/, or compiled binaries.
- Distinctive: line 99
Check git status --short before and after edits.
- Very specific: line 104
ATOM skills: do one judgment or transformation well.
- Distinctive: line 107
Keep atomic capability in the atom.
- Distinctive: line 108
When adding behavior, place it at the lowest level that owns the concept.
- Distinctive: line 109
Keep public skills runtime-agnostic and user-facing.
- Distinctive: line 112
Avoid fixture, beta-client, or one-off evaluation details in public skills.
- Very specific: line 114
Follow skills/ETHICS.md and skills/WHY-NOT-SPAM.md for all PR/pitch/newsjack workflows.
- Distinctive: line 121
Prefer existing repo patterns over new abstractions.
- Very specific: line 122
Use rg/rg --files for searches.
- Distinctive: line 124
Keep changes scoped. Do not reformat unrelated files.
- Distinctive: line 125
If adding or renaming fixture scripts, update the fixture README and any internal script references.
- Very specific: line 126
If changing CLI behavior, update or add focused Go tests in apps/cli/cmd/newsjack/.
- Very specific: line 127
If changing report format, check golden fixtures and run go test ./...
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md 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
AGENTS.md
Guidance for coding agents working in this repo.
Repo Shape
apps/cli/- Go CLI source fornewsjack. Commands live inapps/cli/cmd/newsjack/.apps/site/- Next.js site and distribution build.proxy.tsroutes curl/wget toinstall.sh; browser traffic gets the site.bin/newsjack- source-checkout shim that runs the Go CLI withgo run. Working in this repo, prefer this shim;~/.newsjack/bin/newsjackis the end-user install path that public skills reference.skills/- public Newsjack skills. These are user-facing runtime instructions.fixtures/- local fixtures and smoke harnesses. Fixture-specific docs, scripts, prompts, and generated run folders belong here.eval/- evaluation artifacts, including reverse-newsjack methodology and dated run results.harness/- local agent/runtime harness support.docs/- planning and architecture notes.
Canonical Boundaries
- Public skill behavior belongs in
skills/*/SKILL.mdand skill-local support files. - Fixture usage belongs in the relevant
fixtures/*/README.md, scripts, or prompt files, not in public skills. skills/newsjack-detector/SKILL.mdis the canonical detector pipeline contract.fixtures/newsjack-detector-agent/PROMPT.mdshould only point agents to the canonical detector skill and the fixture profile files. Do not duplicate run commands or profile lists there.fixtures/newsjack-detector-agent/README.mdowns fixture script usage.
Minimal Memory
Keep Newsjack as stateless as practical. Durable state creates hidden baggage on users' machines, makes behavior harder to reason about, and slows iteration.
- Prefer explicit user-owned files, command inputs, and per-run artifacts over background memory.
- If something can be regenerated with one prompt or one cheap deterministic command, do not save it as durable state.
- If an LLM can derive something from live evidence in one prompt, prefer keeping that derivation in the skill/prompt layer instead of encoding a brittle approximation in Go.
- Persist only state that has a clear product owner and lifecycle: monitor profiles, client briefs, schedules, credentials, run provenance, and recurring-run seen/suppression data.
- Do not persist model-inferred topics, learned assumptions, ranking preferences, or other agent guesses unless the user explicitly promotes them into a profile or brief.
- When state is necessary, make it inspectable, portable, and easy to delete. Avoid adding new local databases, caches, or hidden files unless they are clearly justified.
- One-off commands should be as stateless as possible. Recurring monitors may use limited state for hygiene, but that state should not become the source of truth for discovery or judgment.
Discovery Doctrine
Open discovery, strict surfacing.
- News discovery must be evidence-first, not model-prior-first. Runtime judgment should rely on collected evidence and explicit profile setup, not remembered sector trends.
- Static profile/query terms should come from explicit user input, the client's own materials, named entities such as competitors/products/regulators, or fresh current coverage. Do not persist model-inferred "hot topics" as durable search terms.
- Setup owns durable discovery aperture: a focused set of short broad beat topics, static search terms, competitors, and feeds belong in the monitor profile, not in per-run generated terms. Prefer 6-8 core topics, usually 2-3 words; one-word topics are fine when they name a real beat.
- Runtime detector skills should not invent or store retrieval terms from model memory or today's headlines. If intake is too narrow or too broad, edit the profile setup file instead of adding hidden run-specific discovery state.
- Preserve the separation between intake and judgment: widen discovery when needed, but keep freshness, story-origin, standing, brand-safety, and angle gates strict before surfacing anything as actionable.
CLI Unix Principle
Keep the Go CLI a deterministic, composable data layer. Before adding behavior to apps/cli, ask whether every Newsjack user needs the same testable operation regardless of client, voice, outlet, or prompt strategy. If the answer is no, put it in a skill, fixture, or user-provided renderer instead.
CLI-owned behavior:
- Install/update/runtime/auth/MCP plumbing, local paths, local state, and health checks.
- Evidence ingestion, normalization, dedupe, clustering, source diagnostics, and local seen-store behavior.
- Mechanical scores, routing metadata, hygiene/safety flags, and deterministic thresholds used to order work.
- JSON-to-JSON transforms such as applying decisions, validating artifact contracts, attaching provenance, and computing freshness status codes.
- Machine-readable facts needed by skills to render honestly: URLs, timestamps, source provenance, status codes, counts, exclusions, and diagnostics.
Skill- or user-owned behavior:
- PR judgment, client standing, newsworthiness, brand-safety judgment, angle fit, journalist shape, handoff decisions, and final labels/framing.
- Report structure, Markdown/prose rendering, story hierarchy, "top news" wording, what to emphasize, and how to explain statuses to a human.
- Prompt-shaped taxonomies or wording that should evolve without a CLI release. Prefer adding structured JSON fields in the CLI over hardcoding prose.
- Fixture/eval reference renderers may live under
fixtures/, but do not treat them as product CLI behavior.
Keep CLI usage details in CLI help. If agents need to know a command, flag, default, source meaning, credential recovery path, or deterministic profile behavior, expose it through newsjack help, command-specific help, --help, or doctor, with tests. Skill reference files may point agents to help and explain judgment doctrine, but should not duplicate flag lists or operational help text that can drift.
Do not add or expand CLI report rendering unless it is strictly a compatibility/debug path. Canonical human-facing reports should be rendered by skills from deterministic JSON artifacts.
Common Commands
CLI tests:
cd apps/cli
go test ./...Site checks:
cd apps/site
pnpm lint
pnpm test
pnpm buildFixture smoke test without live credentials:
NEWSJACK_RUN_DIR=/tmp/newsjack-fixture-smoke NEWSJACK_INCLUDE_ALL_SCORED=0 \
fixtures/newsjack-detector-agent/scripts/run-one-profile.sh simular "computer-use agents" profile.simular.json --mockGenerated Files
- Do not commit
.tmp/, fixtureruns/, local databases,.claude/,.next/,node_modules/, or compiled binaries. apps/cli/newsjackis a local compiled binary and is ignored.- Dated eval results under
eval/may be committed when they are intentional evaluation artifacts. - Check
git status --shortbefore and after edits. Do not remove unrelated user changes.
Skill Editing Rules
- Skills are compositional:
- ATOM skills do one judgment or transformation well. Example:
angle-generator,story-origin-check,relevance-coarse-filter,fact-check,journalist-fit-check,news-search. - MOLECULE skills combine a few atoms into a bounded workflow with one clear output. Example:
newsjack-detector(engine evidence +story-origin-check+angle-generatorinto a single freshness-gated opportunity report). - COMPOUND skills orchestrate multiple molecules/atoms into an end-to-end product workflow. Example (planned): a
generate-client-reportskill that runsnewsjack-detectorplus a report-generation skill.
- ATOM skills do one judgment or transformation well. Example:
- Keep atomic capability in the atom. Do not duplicate atom logic inside molecule or compound skills; call, reference, or delegate to the atom instead.
- When adding behavior, place it at the lowest level that owns the concept. If it is reusable judgment, make or update an ATOM. If it is orchestration, keep it in a MOLECULE or COMPOUND.
- Keep public skills runtime-agnostic and user-facing.
- Write skills for the reader, who is usually a founder/marketer/PR person, not an engineer: plain language, short sentences, define any unavoidable jargon. Prefer prose, bullets, and markdown tables over code fences; keep a fence only when it carries a real contract (a machine handoff JSON a CLI/pipeline parses, a persisted artifact's schema, a literal command, or a copy-paste template the user sends).
- A skill's human-facing output is readable markdown (headings, bold, short lists). Structured JSON/YAML belongs only in machine handoffs (pipeline stages the CLI parses) and persisted artifacts (
voice.yaml, monitor profiles, tracker configs) that tools read back — present those as a clearly-labeled secondary block, not the headline the user reads. - Avoid fixture, beta-client, or one-off evaluation details in public skills.
- Keep prompts and rubrics concise enough for runtime use. A skill's rubric and a small number of representative examples live inline in its
SKILL.md— do not split them into separaterubric.md/examples.mdfiles. Only long fixture/harness examples or evaluation notes belong underfixtures/or other reference files. - Follow
skills/ETHICS.mdandskills/WHY-NOT-SPAM.mdfor all PR/pitch/newsjack workflows. - For detector changes, preserve the separation:
- Go CLI owns ingestion, deterministic scoring, filtering application, and freshness gate application.
- Skills own PR judgment, story-origin reasoning, angle fit, brand safety, and handoff.
Implementation Notes
- Prefer existing repo patterns over new abstractions.
- Use
rg/rg --filesfor searches. - Make minimal, targeted edits; do not rewrite whole files. Use whatever patch/edit tooling your harness provides.
- Keep changes scoped. Do not reformat unrelated files.
- If adding or renaming fixture scripts, update the fixture README and any internal script references.
- If changing CLI behavior, update or add focused Go tests in
apps/cli/cmd/newsjack/. - If changing report format, check golden fixtures and run
go test ./...fromapps/cli.
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.

