Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add petar-djukic/writing-skills --skill update-referencesgit clone --depth 1 https://github.com/petar-djukic/writing-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/petar-djukic/writing-skills/update-references)<a href="https://agentmods.dev/skills/petar-djukic/writing-skills/update-references"><img src="https://agentmods.dev/badge/skills/petar-djukic/writing-skills/update-references/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/petar-djukic/writing-skills/update-references"><img src="https://agentmods.dev/badge/skills/petar-djukic/writing-skills/update-references.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00127 | $0.04159 |
| Opus 5 | $0.00063 | $0.02080 |
| Sonnet 5 | $0.00025 | $0.00832 |
| Haiku 4.5 | $0.00013 | $0.00416 |
Grade A, and why
update-references scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 346 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Update references (research paper search)
This skill turns "find me what's been written about this" into a small, repeatable pipeline: read what the user is working on, search arXiv (and, for off-arXiv work, Semantic Scholar or Google Scholar) for related papers, download the relevant ones, read them, write a summary per paper, and keep a Citation Style Language (CSL) YAML database so work is never repeated and versions stay current.
The standing interests are LLMs, AI agents, finite state machines, and declarative agent patterns — the territory of spindle (github.com/petar-djukic/spindle), a Go state-machine engine for agentic loops. Lean toward those topics, but always sharpen the search using whatever the current working directory is actually about.
Where things live
This skill is context-aware. It runs from the directory the user is working in, and it stores its outputs there — not in a fixed global location. Resolve paths like this:
- Database:
references.yamlunder the current working directory, unless an existing one is already nearby (look for areferences.yamlat or above the working directory and reuse it). Pass the chosen path as--dbto every script call so search, fetch, and record all agree. If only a legacyarxiv/papers.yamlexists, the scripts read it transparently and convert on next write. - PDFs:
<db-dir>/pdfs/(transient — they exist to be read; they don't need to be committed). The script resolves this relative to the database, not the current directory, so PDFs land next to the db even when run from elsewhere. - Papers (markdown):
<db-dir>/papers/—fetchconverts each PDF to markdown automatically (best-effort viapymupdf4llm), preserving headings, tables, and math. Papers are readable in any editor or tool. - Summaries:
<db-dir>/summaries/, one file per paper.
The PDF, markdown, and summary of a paper share one human-friendly stem:
<Family>-<Year>-<title-slug>-<source>-<id> (for example
Lee-2026-meta-harness-end-to-end-optimization-arxiv-2603.28052). The
<source>-<id> tail is arxiv-<id>vN, doi-<doi>, or scholar-<key>, so any
file traces back to its source at a glance. This differs from the pandoc
citation key, which stays short — just <family>-<year> (see the database
format). repair renames files created under the older naming scheme.
- Manual-download list:
<db-dir>/downloads-needed.md— regenerated byscholar.py pending, a checklist of papers that could not be downloaded (paywalled or behind a login) with a landing URL for each. Derived from the database, so it is disposable, not hand-maintained. An entry carryingdownload: deferredis kept off the checklist (it lists compactly at the bottom instead) — set it on metadata-only entries the current work does not cite, and remove it when a citation pass starts citing the entry.
What ships with it
12 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/search-and-fetch.md 6.9 KB
- references/summary-template.md 2.7 KB
- scripts/_naming.py 4.3 KB runs code
- scripts/_refdb.py 6.7 KB runs code
- scripts/arxiv.py 32 KB runs code
- scripts/keywords.py 8.2 KB runs code
- scripts/openalex.py 18 KB runs code
- scripts/scholar.py 19 KB runs code
- scripts/semantic_scholar.py 13 KB runs code
- scripts/test_naming.py 7.3 KB runs code
- scripts/test_refdb.py 7.7 KB runs code
- scripts/test_repair.py 20 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago Changed · +12 lines 73e7b684db0a
- 11d ago First seen · 334 lines · 127 tokens per session scan A 4ad575dae53e
update-references is a skill published in the GitHub repository petar-djukic/writing-skills (4 stars, last pushed 7d ago), licensed MIT. It adds 127 tokens to every session and 4,159 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
humanizer
Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague…
structural-humanizer
Remove the discourse-level (structural) signs of AI writing that survive surface editing: stated lessons and moral-of-the-story closers, tidy single-track arcs, embodied-emotion performance ("chest tightened"), vague allusions instead of named references, unbroken linear structure, and shape convergence across pieces.…
story-import
A tool for turning an existing novel into a structured writing project. It analyzes the book and organizes its characters, settings, plot plans, chapters, and tracking data for later writing.
story-review
A review workflow for finding story problems from several viewpoints, including issues with structure, characters, wording, and fictional world rules. It can use multiple reviewer agents or work alone.
story-long-analyze
A long-form fiction analysis workflow for breaking down a novel’s opening chapters, characters, pacing, turning points, relationships, and overall structure.
story-deslop
A writing editor for Chinese web novels that detects writing patterns often associated with AI-generated text and makes the prose feel more natural.