deepxiv-fa-standards
Skill843 starsChanged 8 months agoMITView on GitHub
Look up Chinese national standards (GB, GB/T, GB/Z): code, title, status, dates, ICS class. Metadata only, no full text. Use when a task needs which Chinese standard applies or whether it is in force.
- Installs packages
In this repository17 other files it gives its agents.
- deepxiv-baseline-tableSkill
- deepxiv-cliSkill
- deepxiv-fa-appraiseSkill
- deepxiv-fa-casesSkill
- deepxiv-fa-cveSkill
- deepxiv-fa-drugsSkill
- deepxiv-fa-filingsSkill
- deepxiv-fa-frSkill
- deepxiv-fa-grantsSkill
- deepxiv-fa-lawSkill
- deepxiv-fa-osvSkill
- deepxiv-fa-stocksSkill
- deepxiv-fa-talentSkill
- deepxiv-fa-trialsSkill
- deepxiv-fa-uk-eu-lawSkill
- deepxiv-fa-us-lawSkill
- deepxiv-trending-digestSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 77
Always pass -d standards: automatic domain picking is still early.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.
Files
DeepXiv · Standards (standards)
Catalogue of 79,311 Chinese national standards (openstd: mandatory GB / recommended GB/T / guiding GB/Z). Metadata only, no full text: code, Chinese and English title, status, issue and effective dates, ICS class, tags.
Corpus: 79,787 documents, updated 2026-10.
Setup
pip install -U deepxiv-sdk # deepxiv registers a token on first useWith a registered key (https://data.rag.ac.cn/register), search and read are fair use: 60/min, 5 at once, 5,000/day; on the auto-registered token they spend the deepxiv daily limit at the credits listed below. ask draws on the daily ask allowance (resets 00:00 UTC; a site-wide daily total can run out early at peak times), or 3 lifetime trial asks on the auto-registered token. On 429, back off for Retry-After seconds. Data goes to stdout; cost, quota and sources go to stderr. Exit 0 ok, 1 API error, 2 usage error. The general CLI guide is the deepxiv-cli skill.
Start here
deepxiv fa search standards "锂离子电池安全" -F state=现行 -k 5
deepxiv fa read standards "GB/T 42729-2023" -l brief
deepxiv fa ask "电动自行车用锂离子电池有哪些强制性国家标准?" -d standardsFree samples: ids GB/T 42729-2023; queries 锂离子电池 安全.
Search
deepxiv fa search standards "query" [-F FILTER]... [-k N] [--offset N] [--mode M] [--head] [--json]Modes: hybrid, dense, bm25. Up to 100 hits. Cost 2 (with --head: 3).
An empty query is rejected; use "*" to list by filters only. Filters combine with AND; an undeclared field exits 2.
| filter | type | -F syntax | meaning |
nature | keyword | k=v, k=a,b | Nature: mandatory / recommended / guiding Values: 强制性, 推荐性, 指导性技术文件. |
state | keyword | k=v, k=a,b | Status: in force / coming into force / withdrawn / suspended Values: 现行, 即将实施, 废止, 暂不实施. |
std_prefix | keyword | k=v, k=a,b | Code prefix Values: GB, GB/T, GB/Z. |
ics | keyword | k=v, k=a,b | ICS top-level class (see facets) |
is_mandatory | bool | k=v | Mandatory |
issue_year | integer | k=v, k>=n, k=n..m | Issue year, range |
act_year | integer | k=v, k>=n, k=n..m | Effective year, range |
Advanced filters (see deepxiv fa spec standards): tags.
Read
deepxiv fa read standards ID [ID...] [-l brief|detail|full] [-e EXTRA] [-p k=v]... [-f json|md|html]| level | credits | returns |
brief | 1 | Card: the fields needed to triage, same as in search hits |
detail (default) | 2 | Every structured field (rule-derived plus model-generated; model fields are listed in _enrich.fields) |
full | 5 | Full text (not available yet: the standard text is not in this corpus — see openstd.samr.gov.cn) |
At -l full, -p section=NAME reads one section and -p characters=N the first N characters.
Facets
deepxiv fa facets standards FIELD lists the legal values and counts, free. Use it instead of guessing a spelling. Fields: nature, state, std_prefix, ics.
Ask
deepxiv fa ask "question" -d standards [-e low|medium|high] [-p k=v]... [--no-stream] [--json]Agentic Q&A, with one boundary up front: this domain holds catalogue metadata only, no clause text. It can answer which standards exist, how they are classified, whether they are in force and when they take effect; it cannot answer what a clause says — it will say so and point at openstd. Citations are [standards:<std_code> <title>]
Always pass -d standards: automatic domain picking is still early.
What this corpus will and will not tell you
- Metadata only: the text itself is on openstd (the
fulltextflag says whether openstd has it online). - English titles and tags are generated from the Chinese title alone — not authoritative translations.
- 48,406 are in force and 28,535 withdrawn — filter state=现行 before citing.
- The index holds no full text: level=full is not available yet (the standard text is not in this corpus — see openstd.samr.gov.cn).
Citing
Cite records as [GB/T 42729-2023]. Say plainly when the corpus has nothing.
Generated by scripts/gen_fa_skills.py from deepxiv fa spec standards --json on 2026-10-19. Field names and prices can change; deepxiv fa spec standards is the live source.
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.

