humanities-skills
CLAUDE.md9 starsChanged 19 days agoMITView on GitHub
This is a Claude Code skill marketplace for academic research on Chinese historical and geographical data. Each skill wraps an external API and is primarily documentation-driven. Skills are registered in .claude-plugin/marketplace.json. Each skill follows a consistent layout: Optional: scripts/ for utility code (Python 3, standard library only, unless the skill says otherwise) and tests/ for offline tests. .claude-plugin/marketplace.json is the list of published skills (30 as of 2026-11-06). The README tables group them by topic. Keep both in step when…
In this repository30 other files it gives its agents.
- alma-sru-catalogsSkill
- argue-against-meSkill
- arxiv-searchSkill
- cbdb-apiSkill
- cbdb-localSkill
- chgis-tgazSkill
- cjk-calendarSkill
- crossref-searchSkill
- europeana-collectionsSkill
- harvard-library-catalogSkill
- hathitrust-catalogSkill
- historical-mapSkill
- historical-timelineSkill
- human-eval-reviewSkill
- jbdb-apiSkill
- local-ocrSkill
- loc-catalogSkill
- mit-timdexSkill
- nlb-singaporeSkill
- northwestern-digital-collectionsSkill
- openaire-searchSkill
- pitt-library-catalogSkill
- princeton-library-catalogSkill
- taiwan-ldt-authoritiesSkill
- tei-validatorSkill
- tgaz-sqliteSkill
- umich-library-catalogSkill
- wikidata-searchSkill
- yale-library-catalogSkill
- zotero-localSkill
The file
We split this CLAUDE.md into the rules it gives an agent
5 rules. About 0 are common, 0 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 40
Create a directory with a hyphenated name (e.g., new-skill-name/)
- Very specific: line 41
Add SKILL.md with YAML frontmatter (name, description, version, license, author, contributors)
- Very specific: line 42
Add references/api_reference.md with endpoint details, parameters, and examples
- Very specific: line 50
When changing a skill, bump its version in both SKILL.md and marketplace.json so installed copies update.
- Very specific: line 59
Use maxlag parameter for Wikidata Action API queries
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.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
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
This is a Claude Code skill marketplace for academic research on Chinese historical and geographical data. Each skill wraps an external API and is primarily documentation-driven. Skills are registered in .claude-plugin/marketplace.json.
Repository Structure
Each skill follows a consistent layout:
<skill-name>/
├── SKILL.md # Main documentation (YAML frontmatter + usage guide)
└── references/
└── api_reference.md # Technical API spec (endpoints, params, responses)Optional: scripts/ for utility code (Python 3, standard library only, unless the skill says otherwise) and tests/ for offline tests.
Current Skills
.claude-plugin/marketplace.json is the list of published skills (30 as of 2026-11-06). The README tables group them by topic. Keep both in step when adding or removing a skill. Folders that are not in marketplace.json (for example columbia-clio, which is retired and gitignored) are not published.
Build & Development
There is no build system, package manager, or CI pipeline. Many skills have Python code in scripts/. Skills with code have offline tests in tests/ (unittest, with a fake urlopen). Run them per skill:
cd <skill> && python3 -m unittest discover -s teststools/check_alma_sync.py checks that the five Alma SRU client copies match (see below).
Conventions
Adding a New Skill
- Create a directory with a hyphenated name (e.g.,
new-skill-name/) - Add
SKILL.mdwith YAML frontmatter (name, description, version, license, author, contributors) - Add
references/api_reference.mdwith endpoint details, parameters, and examples - Register in
.claude-plugin/marketplace.jsonunderplugins - End
SKILL.mdwith the standard Feedback and Citation section (copy it from any existing skill and change the skill name)
SKILL.md Structure
Each SKILL.md follows this pattern: Overview → When to Use → Quick Start / Workflow → Best Practices → Example Code → Resources → Feedback and Citation.
When changing a skill, bump its version in both SKILL.md and marketplace.json so installed copies update.
The Alma SRU client exists in five copies (alma-sru-catalogs/scripts/alma_sru.py is the reference; the umich, princeton, yale, and pitt skills keep their own copies so each installs alone). Make shared fixes in all five, then run python tools/check_alma_sync.py.
API Etiquette (enforced across all skills)
- Rate-limit requests (0.5–1s minimum between calls)
- Set
User-Agentheaders with contact info (required by Wikidata Vector DB and WDQS) - Respect HTTP 429 /
Retry-Afterheaders - Use
maxlagparameter for Wikidata Action API queries
Text Encoding
- UTF-8 for all Chinese characters — do not URL-encode Chinese text into hex
- URL-encode spaces and special characters normally
API Quirks
- CHGIS TGAZ ID lookups: Format is in the URL path (
/placename/json/{id}), NOT a query param. The?fmt=jsonparam only works for faceted search. - CHGIS TGAZ search: Uses prefix/wildcard matching (
beijingmatches 北京路, 北井县, etc.) - CBDB JSON path: Response data is deeply nested under
Package.PersonAuthority.PersonInfo.Person - Wikidata Vector DB: Requires a descriptive
User-Agentheader or returns 403
Python Style (wikidata_api.py)
- Type hints on all signatures
- Private methods prefixed with
_ - Rate limiting and retry with exponential backoff built in
- Environment variable
WIKIDATA_VECTORDB_API_SECRETfor vector DB auth
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.

