agentleFS
ShawnBaekShawnBaek/kindle-weekly-letter/.claude/skills/add-topic/SKILL.md

add-topic

Skill2 starsChanged 8 months agoMITView on GitHub

Add a new topic to the Kindle Weekly Letter. Use when the user wants to add a custom research topic.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. Corvus400/notebooklm-study-kit★ 2same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository5 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Create a new file at prompts/agent_{topic_id}.md following the same format as existing agent prompts in the prompts/ directory.

    line 25
  2. Very specific:

    Add an entry to sources.json for the new topic with the user's preferred sources.

    line 35
  3. Very specific:

    Add the new topic to src/config.py in the TOPICS list:

    line 39
  4. Distinctive:

    Add the new agent to:

    line 50

≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Add Topic to Kindle Weekly Letter

The user wants to add a new topic: $ARGUMENTS

Follow these steps:

Step 1: Gather Details

Ask the user:

  1. Topic name — What should this topic be called in the EPUB?
  2. Audience — Who is this for? (e.g., "senior engineers", "product managers", "beginners")
  3. Focus areas — What subtopics should the agent search for? (list 3-5)
  4. Preferred sources — Any specific websites, blogs, or publications to prioritize?
  5. What to avoid — Any sources or content types to skip?

Step 2: Create Agent Prompt

Create a new file at prompts/agent_{topic_id}.md following the same format as existing agent prompts in the prompts/ directory. Read one (e.g., prompts/agent_ai_news.md) as a reference template.

The agent prompt must:

  • Describe the research task clearly
  • List preferred sources
  • Specify quality criteria
  • Return the standard JSON structure with: topic, articles, section_intro

Step 3: Add Sources Config

Add an entry to sources.json for the new topic with the user's preferred sources. Read the existing sources.json to understand the format.

Step 4: Register Topic

Add the new topic to src/config.py in the TOPICS list:

{
    "id": "{topic_id}",
    "name": "{Topic Name}",
    "prompt_file": "agent_{topic_id}.md",
},

Step 5: Update Prompts

Add the new agent to:

  • prompts/daily_collector.md — add to the agent prompts list
  • prompts/sunday_compiler.md — add to the proposal display template

Step 6: Confirm

Tell the user:

  • Topic "{Topic Name}" has been added
  • It will start collecting articles at the next daily run
  • They can run /collect-now to start immediately
  • They can edit sources in sources.json

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.