claude-agent-skills-hub / last30days-skill
AGENTS.md0 starsChanged 55 days agoMITView on GitHub
Agent Skills package for researching any topic across Reddit, X, YouTube, and web. Installable across Claude Code (most common host), Codex, Cursor, GitHub Copilot, Gemini CLI, and 50+ other Agent Skills hosts. Python scripts with multi-source search aggregation. Python 3.12+ required. Use uv for the env; the venv lives at .venv/.
- Reads credentials
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,439 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 repository55 other files it gives its agents.
- agent-browser/AGENTS.mdAGENTS.md
- caveman/AGENTS.mdAGENTS.md
- find-skills/AGENTS.mdAGENTS.md
- graphify/AGENTS.mdAGENTS.md
- gsap/AGENTS.mdAGENTS.md
- gstack/AGENTS.mdAGENTS.md
- humanizer/AGENTS.mdAGENTS.md
- hyperframes/AGENTS.mdAGENTS.md
- hyperiux-components/AGENTS.mdAGENTS.md
- i-have-adhd/AGENTS.mdAGENTS.md
- impeccable/AGENTS.mdAGENTS.md
- marketingskills/AGENTS.mdAGENTS.md
- notebooklm-py/AGENTS.mdAGENTS.md
- ponytail/AGENTS.mdAGENTS.md
- superdesign-skill/AGENTS.mdAGENTS.md
- superpowers/AGENTS.mdAGENTS.md
- caveman/CLAUDE.mdCLAUDE.md
- claude-hud/CLAUDE.mdCLAUDE.md
- gsap/CLAUDE.mdCLAUDE.md
- gstack/CLAUDE.mdCLAUDE.md
- hyperframes/CLAUDE.mdCLAUDE.md
- hyperiux-components/CLAUDE.mdCLAUDE.md
- impeccable/CLAUDE.mdCLAUDE.md
- last30days-skill/CLAUDE.mdCLAUDE.md
- marketingskills/CLAUDE.mdCLAUDE.md
- notebooklm-py/CLAUDE.mdCLAUDE.md
- superdesign-skill/CLAUDE.mdCLAUDE.md
- ui-ux-pro-max/CLAUDE.mdCLAUDE.md
- ui-ux-pro-max-skill/CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- brandkitSkill
- industrial-brutalist-uiSkill
- defuddleSkill
- gpt-tasteSkill
- gstackSkill
- humanizerSkill
- imagegen-frontend-mobileSkill
- imagegen-frontend-webSkill
- image-to-codeSkill
- json-canvasSkill
- last30daysSkill
- llm-councilSkill
- minimalist-uiSkill
- notebooklmSkill
- obsidian-basesSkill
- obsidian-cliSkill
- obsidian-markdownSkill
- full-output-enforcementSkill
- redesign-existing-projectsSkill
- high-end-visual-designSkill
- stitch-design-tasteSkill
- design-taste-frontendSkill
- design-taste-frontend-v1Skill
- ui-ux-design-patternsSkill
- webgpu-threejs-tslSkill
The file
We split this AGENTS.md into the rules it gives an agent
8 rules. About 1 is common, 0 are distinctive, and 7 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈0
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
- could be automatic: a setting could enforce it
- Very specific: line 43
Do not reduce fail_under in pyproject.toml ([tool.coverage.report]) without documenting why in the PR.
- Very specific: line 44
Every lib/*.py call to log.source_log(...) must pass tty_only=False.
- Very specific: line 49
Never commit real API keys, browser cookies, auth tokens, app passwords, access tokens, or .env contents.
- Very specific: line 50
Use the env-based auth patterns in skills/last30days/scripts/lib/env.py.
- Common: line 51
Keep examples safe by redacting secrets and avoiding copy/pasteable live credentials in docs, fixtures, and test data.
- Very specific: line 52
Do not weaken or disable the advisory security workflow (.github/workflows/security.yml) without explaining why in the PR description or …
- Very specific: line 66
Keep the existing structure organized by how often each layer is touched: per-run flags → env vars / .env → optional trend-monitoring stack …
- Very specific: line 68
When a new config concept lands in SKILL.md or AGENTS.md, mirror the user-facing knob in CONFIGURATION.md so non-agent readers can …
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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
last30days Skill
Agent Skills package for researching any topic across Reddit, X, YouTube, and web. Installable across Claude Code (most common host), Codex, Cursor, GitHub Copilot, Gemini CLI, and 50+ other Agent Skills hosts. Python scripts with multi-source search aggregation.
Structure
skills/last30days/SKILL.md— canonical skill definition / runtime spec the model reads when the slash command firesskills/last30days/scripts/last30days.py— main research engineskills/last30days/scripts/lib/— search, enrichment, rendering modulesskills/last30days/scripts/lib/vendor/bird-search/— vendored X search clientdocs/solutions/— documented solutions to past problems (bugs, best practices, workflow patterns), organized by category with YAML frontmatter (module,tags,problem_type)CONCEPTS.md— shared domain vocabulary (Skill, Engine, Harness, Beta channel) — relevant when orienting to the codebase or discussing project terminologyCONFIGURATION.md— user-facing knobs (env vars, flags, per-host install patterns); keep in sync per the rules belowCHANGELOG.md— structured release history (launch copy lives in GitHub Releases)HERMES_SETUP.md— install instructions for the Hermes harness specifically
Orientation
- This is an Agent Skills package, not a CLI tool. The product is the slash-command-invoked skill (
/last30days <topic>in most harnesses);scripts/last30days.pyis implementation. Claude Code is the most common host but not the only one — features must work across every harness the skill installs into. - Feature design starts from the slash-command UX. A new engine flag with no SKILL.md integration is incomplete — the model invoking the skill won't know the flag exists.
- README and PR examples show
/last30days <topic>first. Direct CLI invocation (python3 scripts/last30days.py ...) is a fallback for scripting, cron, and dev-time engine testing; label it as such, never as the primary path. - Slash commands don't pass shell mechanics through.
/last30days OpenClaw --emit=html | pbcopyis invalid in any harness — either use the slash form (no flags or pipes; let the model translate user intent into engine flags) or use the direct CLI form (fullpython3 ...with explicit flags and a real shell).
Commands
# Dev/fallback: direct engine invocation (scripting, cron, or engine testing only).
# Saves to $LAST30DAYS_MEMORY_DIR when set in shell or ~/.config/last30days/.env;
# add --save-dir <path> for a one-off override. Mirrors LAST30DAYS_STORE convention.
python3 skills/last30days/scripts/last30days.py "test query" --emit=compact
npx skills add . -g -y # copies skill into ~/.agents/skills/<name>/ (frozen at install time); re-run to sync working-tree edits — see Rules below
# Tests (pytest, ~89 files under tests/, configured in pyproject.toml)
uv run pytest # full suite
uv run pytest tests/test_dedupe_v3.py # single file
uv run pytest tests/test_dedupe_v3.py -k some_case # single case
uv run pytest --cov # with coverage (skips lib/vendor/)Python 3.12+ required. Use uv for the env; the venv lives at .venv/.
Rules
lib/__init__.pymust be bare package marker (comment only, NO eager imports)- One-time setup:
npx skills add . -g -ycopies the skill into~/.agents/skills/<name>/(real directory) and, for harnesses that support symlinked skill dirs, drops a per-host symlink pointing at that copy. Working-tree edits do NOT propagate automatically — the~/.agents/skills/<name>/copy is frozen at install time. To sync after edits, re-runnpx skills add . -g -y. For live-edit on a dev machine, replace the install copy with a symlink to the working tree:ln -sfn "$PWD/skills/last30days" ~/.agents/skills/last30days(run from the repo root). - Git remote: origin = public (
mvanhorn/last30days-skill) - Do not reduce
fail_underinpyproject.toml([tool.coverage.report]) without documenting why in the PR. The coverage gate is a floor meant to rise over time, not to be relaxed when new code is under-tested. - Every
lib/*.pycall tolog.source_log(...)must passtty_only=False. The default isTrue, which silently drops every line when stderr isn't a TTY (Claude Code, Codex, CI, captured output) — turning source observability into invisible failure. Enforced bytests/test_source_log_visibility.py. - CLI-gated optional sources (Digg via
digg-pp-cli, YouTube viayt-dlp) activate only whenshutil.whichresolves the binary on the agent subprocess PATH — not merely when the file exists on disk. First-run setup installs Digg through@mvanhorn/printing-press-library(default$HOME/.local/bin); Hermes/OpenClaw gateways often need that directory on PATH. Setup must distinguish PATH-visible installs from off-PATH binaries and must not claim "now active" unless the engine gate would pass. Seedocs/solutions/integration-issues/digg-cli-agent-path-setup-wizard.md. - First-run onboarding is consent-driven, model-led, and host-split. The setup subprocess does only mechanical work (cookie reads, tool installs, GitHub device-auth) — it cannot prompt, so consent lives in
SKILL.mdStep 0. Step 0 has TWO branches: a Claude Code Modal Flow (the restored v3.0.0AskUserQuestion-driven NUX — welcome, Auto/Manual/Skip, cookie consent, ScrapeCreators offer,INCLUDE_SOURCESopt-in, first-topic picker) for hosts with modals, and a Non-Modal Prose Flow for hosts without (OpenClaw, Codex, Cursor, Gemini CLI). Both ask before reading cookies, surface the macOS Full Disk Access fix on permission-denied, and offer the ScrapeCreators GitHub signup (10,000 free calls) on every first run. A successfulsetup --githubpersistsSCRAPECREATORS_API_KEYautomatically (viasetup_wizard.write_api_key, 0o600) and masks the key in stdout. Do NOT collapse the modal flow back into a bare silentsetupcall or flatten it to prose-only — the guided modals are the feature (they eroded once and were restored). The onboarding contract is locked bytests/test_onboarding_contract.py. Threads/Pinterest are intentionally not surfaced in onboarding (power-userINCLUDE_SOURCESonly).
Security hygiene
- Never commit real API keys, browser cookies, auth tokens, app passwords, access tokens, or
.envcontents. - Use the env-based auth patterns in
skills/last30days/scripts/lib/env.py; tests and fixtures must use obvious dummy values only. - Keep examples safe by redacting secrets and avoiding copy/pasteable live credentials in docs, fixtures, and test data.
- Do not weaken or disable the advisory security workflow (
.github/workflows/security.yml) without explaining why in the PR description or review thread.
Maintaining CONFIGURATION.md
CONFIGURATION.md is the user-facing configuration reference — save paths, per-source API keys, web-search backend priority, trend-monitoring stack, per-client install patterns. Distinct from SKILL.md (the canonical runtime spec).
Update CONFIGURATION.md when:
- adding a new env var (e.g.
LAST30DAYS_*,BSKY_*,*_API_KEY) - adding a new CLI flag that affects configuration (e.g.
--store,--web-backend) - adding a new per-client install pattern (Claude Code, Gemini, Codex, Cursor, Hermes…)
- adding a new optional source that requires its own credential
- changing the priority order of config layers (per-run flag > env >
.envfile > defaults)
Keep the existing structure organized by how often each layer is touched: per-run flags → env vars / .env → optional trend-monitoring stack → per-client patterns. Add new content into the right section rather than appending at the end.
When a new config concept lands in SKILL.md or AGENTS.md, mirror the user-facing knob in CONFIGURATION.md so non-agent readers can configure the skill without reverse-engineering it from the runtime spec.
Beta channel
Experimental changes get tested on mvanhorn/last30days-skill-private, which installs as a parallel /last30days-beta slash command. Beta-only changes never ship to public without a review PR here. Workflow guide lives at BETA.md in the private repo. Plan that established this setup: docs/plans/2026-04-17-005-feat-beta-skill-from-private-repo-plan.md.
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.

