Skip to content
Agentmart
Submit a tool

anecdotes

Collect anecdotal news evidence about a project's topic from Brazilian news outlets (or broader for non-Brazil projects) using the newsbr package.

Skill by hsigstad

IndexedMIT
Write a review

Chalk Labs

Need help deploying anecdotes?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/hsigstad-anecdotes

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Collect anecdotal news evidence about a project's topic from Brazilian news outlets (or broader for non-Brazil projects) using the newsbr package. Discovers articles, fetches full text, appends to references/news/stories.csv, and writes a search audit log.

Use cases: spreadsheets, security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/anecdotes

What's inside

Skill name
anecdotes
Description
Collect anecdotal news evidence about a project's topic from Brazilian news outlets (or broader for non-Brazil projects) using the newsbr package. Discovers articles, fetches full text, appends to references/news/stories.csv, and writes a search audit log.
License
MIT
Instructions
129 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network

Files (1)

  • SKILL.md

SKILL.md (first lines)

# /anecdotes — Collect news evidence for a project

When invoked, gather news/anecdotal evidence relevant to the current project's
research topic and store it under `references/news/` using the canonical
newsbr layout.

## What you do

1. **Read project context** to figure out what to search for:
   - `<project>/CLAUDE.md` (current focus, key terms)
   - `<project>/docs/summary.md` (research question)
   - `<project>/paper/main.tex` introduction, if present
   - `<project>/README.md`

2. **Decide if the project is Brazil-focused.** Most projects in this
   workspace are. If non-Brazil, expand outlet selection accordingly (see
   "Non-Brazil mode" below).

3. **Propose 3–8 search queries** covering different angles of the topic.
   Show them to the user before running. Briefly explain why each query.
   Wait for confirmation unless the user said "go ahead" up front.

4. **Run newsbr collect** for each approved query, against the relevant
   outlets:

   ```bash
   python3 -m newsbr collect \
     --project <project_root> \
     --query "<query>" \
     --outlets migalhas,folha,estadao,jota \
     --max-pages 1 \
     --context "/anecdotes for <project>"
   ```

   Always pass `--context` so the audit log captures who/why.

5. **Report back** what was added: number of new articles per outlet,
   total added, and the path to `search_log.md`. If you saw notable
   articles, mention 2–3 by title.

6. **Update `docs/notes/anecdotes.md`** (create if missing) with a brief
   one-line entry per session listing the queries run and how many
   articles were collected. This is a human-curated complement to the
   machine-readable search_log.md. Do not duplicate the article list.

## Outlet selection guide

| Outlet | Strength | Notes |
|--------|----------|-------|
| `migalhas` | Legal news, free, native search | Default for legal/judicial topics |
| `folha` | National news, paywalled | Requires Chrome login; native search |
| `estadao` | National news, JS paywall (text in HTML) | RSS-only search — only finds articles in the live feed, not archives. Low yield. |
| `jota` | Legal/policy journalism, paywalled (PRO) | Sitemap scan (monthly XMLs at sitemap.jota.info). Free articles extracted via `__NEXT_DATA__` JSON; PRO articles need Chrome cookies (rookiepy). High signal for legal/tax/judicial topics. Use `--max-pages N` to scan N years back. |
| `globo` | National news, paywalled | Sitemap scan, requires Chrome login |
| `conjur` | Legal news, free | **fetch-only** (Cloudflare blocks search). Use `newsbr fetch --file references/news/curated_*.txt` for hand-collected URLs |
| `piaui` | Long-form investigative | Sitemap scan, requires Playwright + Chrome login |

For most legal/judicial projects start with `migalhas,folha,jota` —
fast and high signal. Add `globo` for political/economic topics.
JOTA is especially strong for tax, judicial reform, and STJ/STF coverage.
Estadão's RSS-only search has returned 0 hits on all queries to date —
consider dropping it from the default list until a proper search is added.

## Storage layout

newsbr writes everything under `<project>/references/news/`:

```
stories.csv          date,outlet,title,url,theme,summary,paywalled
texts/NNN.txt        full article body, 1-indexed zero-padded
search_log.md        audit trail (newsbr appends to this)
curated_*.txt        hand-curated URL lists for fetch-only outlets
```

Themes are left blank by newsbr — fill them in later by hand or via
project-specific classification.

## Non-Brazil mode

If the project isn't Brazil-focused (rare in this workspace — check
CLAUDE.md), the baseline outlet list still works for any English query
that has Portuguese coverage, but you should also:

1. Tell the user newsbr is Brazil-biased and ask for fallback outlets.
2. Skip Brazilian-only outlets (`migalhas`, `conjur`, `piaui`).
3. Suggest the user use Web Search for non-Brazil sources, then pass
   discovered URLs to `newsbr fetch --file urls.txt`.

## Adding new outlets

Outlet modules live in `packages/newsbr/newsbr/outlets/`. To add one,
create `<name>.py` exposing `NAME`, `DOMAIN`, `STATUS`, `SEARCH`,
`search()`, and `fetch()`. Then add the short name to `OUTLET_NAMES`
in `outlets/__init__.py`.

## Common commands

```bash
# Discover and fetch in one shot
python3 -m newsbr collect --project <root> --query "..."

# Preview without fetching
python3 -m newsbr collect --project <root> --query "..." --dry-run

# Restrict to specific outlets
python3 -m newsbr collect --project <root> --query "..." --outlets migalhas,folha

# Fetch URLs directly (e.g. from a curated list)
python3 -m newsbr fetch --project <root> --file curated.txt
python3 -m newsbr fetch --project <root> --url https://...

# Re-fetch missing texts/NNN.txt files for existing CSV rows
python3 -m newsbr refetch-texts --project <root>

# Show all outlets and their status
python3 -m newsbr outlets
```

## Important rules

From hsigstad/research-kit, MIT.

More from hsigstad/research-kit

Signals

Stars
0
Forks
1
Open issues
1
Last commit (this folder)
Jul 5, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from hsigstad

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get anecdotes running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying anecdotes?

CallGet help
Cite this page

anecdotes skill. Agent Mart. https://agentmart.dev/skills/hsigstad-anecdotes (last updated 2026-10-24)