agents-config: Skill for OpenCode

.opencode/skill/archivarius/SKILL.md

archivarius is a skill for OpenCode from daochild/agents-config. It costs 33 tokens per session (1,859 once invoked), scanned A, original, MIT.

An information-organisation guide for structuring codebases, documentation, and knowledge bases so people can find and maintain information.

In plain words
What is it for?
Use it to design folder structures, naming conventions, metadata and tagging systems, cross-references, or plans for merging fragmented sources.
Why use it?
It reduces scattered, duplicated, or inconsistently named information by defining clear locations, labels, links, and ownership rules.

Skill for OpenCode

Written for OpenCode: installed under .opencode/.

This is daochild/agents-config's own configuration. It tells OpenCode how to work on agents-config itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agents-config configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is "$schema": "../schemas/entity.schema.json",.

Reuse

Borrowing it

Nothing to install: this file belongs to daochild/agents-config. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/daochild/agents-config/main/.opencode/skill/archivarius/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/daochild/agents-config

Made for: 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 archivarius

README.md
[![agentmods](https://agentmods.dev/badge/skills/daochild/agents-config/archivarius.svg)](https://agentmods.dev/skills/daochild/agents-config/archivarius)
Your own site
<a href="https://agentmods.dev/skills/daochild/agents-config/archivarius"><img src="https://agentmods.dev/badge/skills/daochild/agents-config/archivarius.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,859 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00033 $0.01859
Opus 5 $0.00016 $0.00929
Sonnet 5 $0.00007 $0.00372
Haiku 4.5 $0.00003 $0.00186

Measured today against content hash f0b2fa30fad3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

archivarius 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 today.

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.

.opencode/skill/archivarius/SKILL.md · 204 lines

How it starts

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

Skill: archivarius

Role: Data Organization Architect — designs and maintains well-structured, discoverable, and maintainable information architectures for codebases, documentation, and knowledge bases.

When to Use

  • Organizing or reorganizing codebases, docs, or knowledge bases
  • Designing folder structures, naming conventions, taxonomies
  • Creating/maintaining metadata schemas, tagging systems, cross-references
  • Migrating or consolidating fragmented knowledge sources
  • Establishing governance: naming conventions, ownership, lifecycle policies

Core Principles

1. Principle of Least Surprise

  • Structures follow platform/framework conventions first
  • Predictable locations: src/, docs/, tests/, scripts/, data/, config/
  • No "misc" or "utils" catch-alls without strong justification

2. Single Source of Truth

  • One canonical location per concept
  • Cross-references via links, not duplication
  • Canonical paths documented in ARCHITECTURE.md or STRUCTURE.md

3. Progressive Disclosure

  • Top-level: domain-oriented (features, domains, layers)
  • Mid-level: type-oriented (components, hooks, utils, types)
  • Leaf: implementation files
  • README at each level explaining purpose and conventions

4. Metadata Over Hierarchy

  • Prefer tags, frontmatter, labels over deep nesting
  • Max 3-4 directory levels before files
  • Use indexes/READMEs for discovery, not deep trees

5. Ownership & Lifecycle

  • Every directory has an OWNERS or README.md with:
    • Purpose & scope
    • Owner/team
    • Retention policy (archive/delete criteria)
    • Related docs/issues

Standard Structure Templates

Codebase (Monorepo)

root/
├── apps/              # Deployable applications
│   ├── web/
│   ├── api/
│   └── worker/
├── packages/          # Shared libraries (published or internal)
│   ├── ui/
│   ├── core/
│   └── config/
├── tools/             # Build tools, scripts, generators
├── docs/              # Documentation (see below)
├── infrastructure/    # IaC, deployment, environments
├── .github/           # CI/CD, workflows
└── ARCHITECTURE.md    # Root architecture decision record

Read the full file on GitHub · 204 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. today First seen · 204 lines · 33 tokens per session scan A f0b2fa30fad3

Subscribe to this mod's changes

archivarius is a skill published in the GitHub repository daochild/agents-config (10 stars, last pushed 21d ago), licensed MIT. It adds 33 tokens to every session and 1,859 once invoked, about $0.0002 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-09-07.

Related

Other skills, from other repositories

ai-ui-generation

AI-assisted UI generation patterns for json-render, v0.app, Google Stitch, Bolt Cloud, and Cursor workflows. Covers prompt engineering for component and full-stack app generation, review checklists for AI-generated code, design token injection, refactoring for design system conformance, and CI gates for quality…

yonatangross/orchestkit · 95 tokens

owasp-reviewer-prompt

A paranoid OWASP-Top-10-aware system prompt for AI code review that traces data flow, treats every input as malicious, maps each finding to an OWASP category, and outputs a structured Summary / Findings / Severity / Score block reviewers can act on.

aozyildirim/Agena · 59 tokens

design-md-to-app

Generate or customize a frontend app from a DESIGN.md (Google design.md spec): reads its tokens and produces a working React app pre-styled to match. Next.js 16 + App Router only; pre-16 refused. Four UI libraries — shadcn/ui, Base UI, MUI, Coss/UI (via coss-ui) — and TanStack Form + Zod (default) or react-hook-form.…

lukedj78/dev-flow · 229 tokens

dev-flow

Orchestrate an end-to-end product-development workflow built on atomic skills. Reads .workflow/meta.json in a project directory, works out which phase the user is in (idea → PRD → tasks → design → scaffolded → pages → modules → tests → pre-deploy gates → deployed), and delegates to whichever specialist skill owns the…

lukedj78/dev-flow · 163 tokens

forms

Build or edit any form in a Next.js 16 App Router app through one shared toolkit in lib/forms/, with dirty + valid Save gating — on TanStack Form + Zod (default) or react-hook-form (auto-detected). Use when the user says "form", "edit panel", "create dialog", "settings page", "save button", "dirty state", or reaches…

lukedj78/dev-flow · 226 tokens

data-fetching

Read data in a Next.js 16 App Router app the canonical way — async Server Components first, URL searchParams for filter state, use() + when a Client Component needs server data, Route Handlers + SWR/React Query only as a last resort. Server Actions are for mutations, never reads. Use when the user is about to load…

lukedj78/dev-flow · 215 tokens