agentleFS
aungminnkhant94aungminnkhant94/Forger/skills/forger/SKILL.md

forger

Skill3 starsChanged 42 days agoMITView on GitHub

Turn URLs the user pastes into a scored, searchable personal knowledge base. Use when the user shares or asks to save a link, wants to find something they saved, asks about their bookmarks/forge, or wants the Forger engine installed or fixed. Headless pipeline — scrape, score against the user's profile, bucket, store, dashboard.

  • Reads credentials
  • Installs packages

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. nileshteji/skills★ 1same 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 repository2 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 4 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

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

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

    Default install location: ~/Forger (any dir works.

    line 16
  2. Distinctive:

    No git? Download the repo zip and extract.

    line 32
  3. Very specific:

    Safety: if the target directory already exists and is not a Forger checkout (no forge.py inside), do NOT touch or clone into it — pick a …

    line 33
  4. Distinctive:

    Use a neutral third-party URL (e.g.

    line 48
  5. Distinctive:

    No key required — you are the analyst:

    line 55
  6. Very specific:

    If it says DUPLICATE, tell the user it's already saved (optionally show the existing entry via python forge search <title>).

    line 65
  7. Very specific:

    Read data/pending/<id>.content.md (and open the URL yourself if the scrape looks thin).

    line 72
  8. Very specific:

    If two papers both feel like archive, promote the more urgent one to at least build_later (or test_this_week when it is runnable this week).

    line 104
  9. Very specific:

    relates_to is required: Read profile.md and write 2–4 sentences (≥40 characters) that name their goals/projects.

    line 112
  10. Distinctive:

    If nothing connects, say so in full sentences (why it misses their work), never the bare word None.

    line 115
  11. Very specific:

    If the user configured an LLM key in .env, step 1 becomes plain python forge add <url> (the API scores it.

    line 120
  12. Very specific:

    Add --apply to queue them as data/pending/<id>.content.md (title, URL, current tags, summary, content).

    line 136

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

Forger

A pasted URL means run add → analyze → resolve to the end; see the rule at the top of AGENTS.md.

Forger is a personal bookmark engine: URL → scrape → score against the user's profile.md → bucket (test_this_week / build_later / archive / ignore) → local storage → optional web dashboard. You are the analyst: in agent mode YOU score the content — no API key needed.

Default install location: ~/Forger (any dir works; remember where you installed it). All commands below assume you cd there first.

First-time setup (once per user)

  1. Check prerequisites: Python 3.10+ (python3 --version; on Windows use py -3 --version). Git. Optional: Node 24 (dashboard only), Playwright chromium (JS-heavy pages, login-gated X posts).
  2. Get the engine:
    git clone https://github.com/aungminnkhant94/Forger.git ~/Forger
    cd ~/Forger
    python3 -m venv .venv && . .venv/bin/activate
    # Windows:  py -3 -m venv .venv  then  .venv\Scripts\activate
    pip install -r requirements.txt
    No git? Download the repo zip and extract. Safety: if the target directory already exists and is not a Forger checkout (no forge.py inside), do NOT touch or clone into it — pick a different directory (e.g. ~/forger-engine) and remember it. Never run forge commands inside a directory that belongs to another project.
  3. Create the profile — interview the user briefly (2-4 questions), then write their answers into ~/Forger/profile.md following profile.example.md: who they are, what they're building now, always-relevant topics, actively-ignore topics. The profile drives ALL scoring — richer profile, better scores. Show them the file when done.
  4. LLM key — optional. Without any key, use agent mode (below) and score bookmarks yourself. If the user wants automated scoring instead, help them put ONE provider block in .env (copy from .env.example): DeepSeek, Kimi, or any OpenAI-compatible API.
  5. Verify: python forge health then run the first bookmark through agent mode (next section). That completed bookmark IS the setup check. Use a neutral third-party URL (e.g. a short Wikipedia or PubMed page). Never save https://github.com/aungminnkhant94/Forger (or this repo's URL / README) as the setup-check bookmark.
  6. Optional dashboard: cd web && npm install && npm run dev (needs Node).

When the user pastes a URL (the main flow)

No key required — you are the analyst:

  1. python forge add <url> --agent
    • URL + the user's own text? People often paste a link with commentary ("this is interesting because ..."). Pass their words along verbatim: python forge add <url> --agent --note "<their words>". The note is stored on the bookmark and is the STRONGEST analysis signal — judge the link through what THEY said, not just the page content.
    • Saves the bookmark, scrapes content, prints a bookmark_id.
    • Scraped content is written to data/pending/<id>.content.md.
    • If it says DUPLICATE, tell the user it's already saved (optionally show the existing entry via python forge search <title>). To re-fetch after a scrape fix (thin stub / empty body), re-run with --replace: python forge add <url> --agent --replace (or forge add <bookmark_id> --agent --replace). That overwrites the stored bookmark and leaves a fresh pending file for resolve. Without --replace, DUPLICATE stays the default — do not delete data files by hand.
  2. Read data/pending/<id>.content.md (and open the URL yourself if the scrape looks thin).
  3. Analyze it against the user's profile.md — see the Analysis Contract in references/analysis.md. Write your analysis to data/pending/<id>.analysis.json using exactly this shape:
    {
      "title": "Polished title",
      "summary": "3-4 sentences: what it is, takeaway, why it matters to THIS user",
      "recommendation_reason": "One blunt sentence: why relevant or not, right now",
      "relates_to": "REQUIRED: 2-4 sentences naming goals/projects from profile.md. Never None/N/A/null/-. If nothing connects, still write 2+ sentences explaining why.",
      "key_insights": ["3-5 concrete takeaways"],
      "tags": ["2-6 specific tags"],
      "actionable_this_week": false,
      "reduces_friction": false,
      "reference_material": false,
      "recommendation_bucket": "test_this_week"
    }
    Bucket rules: test_this_week = actionable within 7 days. build_later = reduces friction on something they're building. archive = worth finding again later. ignore = none of these. When torn, choose the MORE urgent. Judge against THEIR profile, never a generic tech audience. Be strict. Hard rule — do NOT park every on-profile paper in archive. Ban "all science = archive". Worth follows the booleans (~8 / ~6.5 / ~4):
    • Protocol or assay the user can run this week → actionable_this_week / test_this_week (worth ~8). Example: a PCR protocol matching their current wet-lab project that they can try Monday.
    • Method or tool that unblocks current work but is not this-week runnable → reduces_friction / build_later (worth ~6.5). Example: a sequencing library-prep method that removes a blocker on their pipeline.
    • Background landmarks / review context only → archive (worth ~4). If two papers both feel like archive, promote the more urgent one to at least build_later (or test_this_week when it is runnable this week). Batch spread — do not clump worth. In a batch of on-profile papers, spread buckets/worth. Two distinct papers must not share the exact same worth_score unless they truly share the same boolean outcomes. Prefer distinct actionable_this_week / reduces_friction / reference_material choices so worth lands on different derived values (~8 / ~6.5 / ~4 / ~1.5). Full biomed examples: references/analysis.md. relates_to is required. Read profile.md and write 2–4 sentences (≥40 characters) that name their goals/projects. Forbidden: None, N/A, null, -, or leaving it blank — forge resolve will reject those. If nothing connects, say so in full sentences (why it misses their work), never the bare word None.
  4. python forge resolve <bookmark_id>
  5. Report back in one short block: title, bucket, your one-line reason. Done.

If the user configured an LLM key in .env, step 1 becomes plain python forge add <url> (the API scores it; --note works there too) — then just report the result.

When the user asks about their saved stuff

  • Find things: python forge search "<topic>"
  • Overview: python forge stats
  • Weekly report: python forge digest --days 7
  • Raw data: data/bookmarks_raw.json, data/analysis_results.json
  • Answer from the results; cite the bucket and reason so they learn what the forge thinks of their stream.

Cleaning up wrong tags (no API key)

  1. python forge retag --agent --tag <tag> (or --all) — dry run, lists bookmarks.
  2. Add --apply to queue them as data/pending/<id>.content.md (title, URL, current tags, summary, content).
  3. For each, read it and write data/pending/<id>.analysis.json as {"tags": ["...", "..."]} — 1–5 tags the content is really about. Drop a tag that only matches a word (e.g. coding on a physics paper).
  4. python forge resolve <id> — your tags replace the inferred ones.

Troubleshooting

See references/troubleshooting.md. Common cases: rare X public-API misses may use cookies (X_COOKIES_PATH) as an optional Playwright upgrade; JS-heavy pages need playwright install chromium; missing data/ dirs are auto-created.

References

  • references/setup.md — full install details, provider config, dashboard, deploy
  • references/analysis.md — the analysis contract: judgment rules and scoring
  • references/troubleshooting.md — failure modes and fixes

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.