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 terva-sh/terva --skill init-workspacegit clone --depth 1 https://github.com/terva-sh/tervaWrote 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/terva-sh/terva/init-workspace)<a href="https://agentmods.dev/skills/terva-sh/terva/init-workspace"><img src="https://agentmods.dev/badge/skills/terva-sh/terva/init-workspace/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/terva-sh/terva/init-workspace"><img src="https://agentmods.dev/badge/skills/terva-sh/terva/init-workspace.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.00058 | $0.00941 |
| Opus 5.5 | $0.00023 | $0.00376 |
| Sonnet 5.5 | $0.00012 | $0.00188 |
| Haiku 4.5 | $0.00006 | $0.00094 |
Grade A, and why
init-workspace 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 3mo 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 — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Initialize a workspace
Write the repository AGENTS.md: the standing instructions that terva loads
into every session that works here. The file rides every prompt, so every
line must earn its place. This skill is as much about what to leave out as
what to put in.
How terva loads it: $TERVA_HOME/AGENTS.md (the user's own cross-repo
preferences) first, then AGENTS.md files from the top-most parent directory
down to the working directory. A later file overrides an earlier one. So:
repository facts go in the repository AGENTS.md. Personal preferences go in
the global one. A subdirectory of a monorepo can layer its own on top. Do not
mix these scopes.
Survey before you write
Read, do not guess. In order:
- Existing instructions:
AGENTS.mdfirst, then any sibling instruction files other tools left behind (CLAUDE.md,.cursorrules,CONTRIBUTING). Mine them. If aCLAUDE.mdduplicates what you will write, say so to the user. Do not silently fork the two. - The build system: justfile or Makefile,
package.jsonscripts, CI workflow files. These are the source of truth for commands. - The layout: top-level directories, and where the code, the tests, and the documentation live.
- Convention signals: linter and formatter configuration, and a few representative source files for naming and comment style.
Verify every command you intend to record: run it. When a run is too
heavy (a full test suite), confirm the command exists in the build file and
say which. A stale command in AGENTS.md is worse than none: it fails in
every future session.
What belongs (and what does not)
In, roughly in this order:
- Commands: build, test (and how to run one test), lint, format, run. One line each.
- Architecture in five lines: the map a newcomer needs before their first edit. Major components and where they live. Not a tour.
- Conventions that differ from defaults: what a competent agent would otherwise get wrong. House style the linter already enforces needs no restatement.
- Policy: what must not change or go into a commit (generated files, vendored trees, secrets), and the required workflow (branch rules, how a PR opens).
- Gotchas: the traps that cost someone an hour. One line each, with the tell that identifies the trap.
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.
- 3mo ago First seen · 84 lines · 58 tokens per session scan A a47874f6d577
init-workspace is a skill published in the GitHub repository terva-sh/terva (5 stars, last pushed today), licensed MIT. It adds 58 tokens to every session and 941 once invoked, about $0.0002 per session on Opus 5.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.
init-workspace compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| init-workspaceterva-sh/terva | Skill | 5 | today | MIT | A | 58 | Claude Code, Codex |
| pi-syncsky-valley/pi | Skill | 96 | today | MIT | A | 66 | Claude Code |
| pi-go-reviewsky-valley/pi | Skill | 96 | today | MIT | A | 45 | Claude Code |
| sls-dashboard-builderalibaba/loongsuite-pilot | Skill | 275 | today | Apache-2.0 | A | 72 | Claude Code, Codex |
| agentloop-audit-dashboardalibaba/loongsuite-pilot | Skill | 275 | today | Apache-2.0 | A | 149 | Claude Code, Codex |
| loongsuite-pilot-opsalibaba/loongsuite-pilot | Skill | 275 | today | Apache-2.0 | A | 15 | Claude Code, Codex |
| code-guidelines-godimetron/pi-go | Skill | 235 | today | MIT | A | 124 | Claude Code, Codex |