open-document-skills AGENTS.md

open-document-skills AGENTS.md is an instructions file for Codex, OpenCode from leiverkus/open-document-skills. It costs 730 tokens per session, scanned A, original, MIT.

Repository instructions for developing open-document-skills, a Python toolkit for OpenDocument files such as text documents, presentations, spreadsheets, and drawings. They specify testing, linting, type-checking, and build commands.

In plain words
What is it for?
Use them when changing the toolkit or its document-related skills and when checking the changes with the required tests, linters, type checks, and package build.
Why use it?
They tell coding agents which project conventions and verification commands to follow, including the fact that tests use unittest rather than pytest by default.

Instructions file for CodexOpenCode

Install

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.

agentmods
npx agentmods add instructions/leiverkus/open-document-skills/agents-md
Clone the repo
git clone --depth 1 https://github.com/leiverkus/open-document-skills

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for open-document-skills AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/leiverkus/open-document-skills/agents-md.svg)](https://agentmods.dev/instructions/leiverkus/open-document-skills/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/leiverkus/open-document-skills/agents-md"><img src="https://agentmods.dev/badge/instructions/leiverkus/open-document-skills/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 730 This file is loaded in full into every session.
When invoked 730 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00730 $0.00730
Opus 5 $0.00365 $0.00365
Sonnet 5 $0.00146 $0.00146
Haiku 4.5 $0.00073 $0.00073

Measured 5d ago against content hash b2fab71f4b1c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

open-document-skills AGENTS.md 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 5d 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.

AGENTS.md · 68 lines

How it starts

The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md

Guidance for AI agents working on this repository. (Not to be confused with the skills/*/SKILL.md files — those instruct agents that use the skills; this file is for developing the repo.)

open-document-skills is a stdlib-only Python toolkit for OpenDocument files. odf_lib/ is the shared library, published to PyPI as open-document-lib; skills/{odt,odp,ods,odg}/ are the four agent skills.

Commands

# Tests — unittest, not pytest by default
python3 -m unittest discover -s tests

# Lint — BOTH are CI gates; ruff format is separate from ruff check
ruff check .
ruff format --check .

# Type-check — per directory: the four skills share module basenames
# (validate_refs.py etc.) and are not packages, so one combined run clashes
mypy odf_lib
for d in odt odp ods odg; do mypy skills/$d/scripts; done

# Build the library wheel
python3 -m build

The full suite needs the optional deps bibtexparser, lxml, hypothesis (pip install -e .[dev,scholarly,validate]). LibreOffice/Pandoc are optional — those tests skip when absent.

Conventions — do not break these

  • Stdlib-only core. odf_lib/ and the skill scripts import nothing beyond the standard library. Optional deps (bibtexparser, lxml, pandoc) are lazily imported behind a clear error message.
  • Shared helpers live in odf_lib/odf_common.py; each skill has a thin *_common.py wrapper. Skill scripts locate odf_lib via an upward search — never hardcode parents[N] depths.
  • Every edit script calls update_meta_for_edit before writing output.
  • Text replacement preserves inline children (text:span, text:note, text:bookmark, …) — use replace_text_in_element, never clear_children on a paragraph.
  • mimetype is the first ZIP entry, stored uncompressed.
  • JSON-builder / validation result dicts are typed dict[str, Any].
  • New code must pass ruff check, ruff format --check, and mypy.

Generated — do not hand-edit

  • examples/output/, dist/, build/ — build artifacts, gitignored.
  • tests/fixtures/corpus/ — regenerated by tests/fixtures/corpus/build_corpus.py (needs LibreOffice).

Read the full file on GitHub · 68 lines

Changes

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.

  1. 5d ago First seen · 68 lines · 730 tokens per session scan A b2fab71f4b1c

Subscribe to this mod's changes

open-document-skills AGENTS.md is an instructions file published in the GitHub repository leiverkus/open-document-skills (3 stars, last pushed 1mo ago), licensed MIT. It adds 730 tokens to every session, about $0.0036 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.

Related

Other instructions, from other repositories

SeekMoney-ai CLAUDE.md

Claude Code instructions for zykooooooooo/SeekMoney-ai, covering claude.md, project overview, development commands, development and production.

zykooooooooo/SeekMoney-ai · 2,178 tokens

sentry-instrumentation AGENTS.md

Instructions for tortastudios/sentry-instrumentation, covering agents guide — sentry-instrumentation, what this repo is, this repo has no "skill registry", if you're a codex agent asked to install this skill and skill-enable block (copy into consumer agents.md).

tortastudios/sentry-instrumentation · 1,038 tokens

Cerebro AGENTS.md

Instructions for AgenticFirst/Cerebro, covering cerebro — agent context, read before touching integrations, project layout, conventions a fresh agent would otherwise miss and running locally.

AgenticFirst/Cerebro · 1,287 tokens

idd-skill idd-resume.instructions.md

Instructions for kurone-kito/idd-skill, covering idd — resume phase, required inputs, step 0 — route classifier, operator-present release and step 1 — identify claim state.

kurone-kito/idd-skill · 3,747 tokens

critical-thinking AGENTS.md

Instructions for Johna2an/critical-thinking, covering agents.md, repo map, install (for a user asking "should i install this?"), working in this repo and running an eval round.

Johna2an/critical-thinking · 731 tokens

hometax-doum AGENTS.md

AGENTS.md instructions for lbiz-partners/hometax-doum, covering claude.md — hometax-doum 개발 규칙 (하네스와 쌍), 규칙 ↔ 강제 장치 and 운용 메모.

lbiz-partners/hometax-doum · 1,202 tokens