altimate-code: Skill for OpenCode

.opencode/skills/train/SKILL.md

train is a skill for OpenCode from AltimateAI/altimate-code. It costs 15 tokens per session (469 once invoked), scanned A, original, MIT.

A training helper that reads a style guide, review checklist, coding standard, or similar document and turns its contents into rules, standards, and glossary entries for an AI teammate.

In plain words
What is it for?
Use it to teach an AI teammate naming rules, formatting requirements, prohibited patterns, review criteria, architecture standards, and internal terms from a file, URL, or pasted text.
Why use it?
It saves you from repeatedly explaining team conventions and makes the extracted guidance ready for confirmation and storage.

Skill for OpenCode

Written for OpenCode: installed under .opencode/.

This is AltimateAI/altimate-code's own configuration. It tells OpenCode how to work on altimate-code 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 altimate-code configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AltimateAI/altimate-code. 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/AltimateAI/altimate-code/main/.opencode/skills/train/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/AltimateAI/altimate-code

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 train

README.md
[![agentmods](https://agentmods.dev/badge/skills/altimateai/altimate-code/train/github.svg)](https://agentmods.dev/skills/altimateai/altimate-code/train)
Your own site
<a href="https://agentmods.dev/skills/altimateai/altimate-code/train"><img src="https://agentmods.dev/badge/skills/altimateai/altimate-code/train/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.

agentmods 80×15 button for train

Your own site · 80×15
<a href="https://agentmods.dev/skills/altimateai/altimate-code/train"><img src="https://agentmods.dev/badge/skills/altimateai/altimate-code/train.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 469 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00015 $0.00469
Opus 5.5 $0.00006 $0.00188
Sonnet 5.5 $0.00003 $0.00094
Haiku 4.5 $0.00002 $0.00047

Measured 1mo ago against content hash 9e4073de9ad3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

train 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 1mo 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.

.opencode/skills/train/SKILL.md · 52 lines

What it actually says

Train

Purpose

Learn team standards and conventions from a document (style guide, review checklist, coding standards, etc.). Extracts actionable rules and saves them as training.

Workflow

  1. Get the document: The user provides either:

    • A file reference: @docs/sql-style-guide.md
    • A URL: The full URL to fetch (use webfetch tool)
    • Inline text: Pasted directly in the chat
  2. Read and analyze: Parse the document and extract:

    • Specific, enforceable rules (naming, formatting, prohibited patterns)
    • Review criteria and checklists
    • Glossary terms and definitions
    • Architectural standards
  3. Categorize: Group findings by training kind:

    • rule — Specific do/don't rules (e.g., "Never use SELECT *")
    • standard — Broader conventions (e.g., "SQL style guide compliance")
    • glossary — Term definitions (e.g., "ARR = Annual Recurring Revenue")
  4. Present summary: Show the user what you extracted:

    • Number of rules, standards, and glossary terms found
    • Preview of each item
    • Ask for confirmation before saving
  5. Save via training_save: Save each item using the training_save tool. For documents with many rules, consolidate related rules into logical groups (e.g., "sql-naming-rules" with 5 rules, rather than 5 separate entries).

Important Guidelines

  • Only extract ACTIONABLE items. Skip vague guidance like "write clean code."
  • Consolidate related rules into single training entries to avoid clutter.
  • Preserve the original wording when it's specific and clear.
  • If the document is too large, focus on the most impactful rules.
  • Always use scope: project unless the user specifies global.
  • Do NOT make any extra LLM calls — analysis happens in the normal conversation flow.

Usage Examples

/train @docs/sql-style-guide.md
/train https://wiki.company.com/data-team/review-checklist
/train   (then paste content inline)
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. 1mo ago First seen · 52 lines · 15 tokens per session scan A 9e4073de9ad3

Subscribe to this mod's changes

train is a skill published in the GitHub repository AltimateAI/altimate-code (813 stars, last pushed today), licensed MIT. It adds 15 tokens to every session and 469 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

zarr-python

Chunked N-D arrays for cloud storage. Compressed arrays, parallel I/O, S3/GCS integration, NumPy/Dask/Xarray compatible, for large-scale scientific computing pipelines.

synthetic-sciences/openscience · 42 tokens

aeon

This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting, anomaly detection, segmentation, and similarity search. Use when working with temporal data, sequential patterns, or time-indexed observations requiring specialized algorithms beyond standard…

synthetic-sciences/openscience · 74 tokens

geopandas

Python library for working with geospatial vector data including shapefiles, GeoJSON, and GeoPackage files. Use when working with geographic data for spatial analysis, geometric operations, coordinate transformations, spatial joins, overlay operations, choropleth mapping, or any task involving…

synthetic-sciences/openscience · 125 tokens

hdf5-pde-data-loading

Patterns for loading PDE simulation datasets (PDEBench, PhiFlow, JAX-CFD) from HDF5 files. Handles layout detection (single tensor vs separate variables), spatial/temporal downsampling, multi-variable systems, HuggingFace and DaRUS data sources, and efficient PyTorch DataLoader creation. Use when preparing PDE data…

synthetic-sciences/openscience · 82 tokens

markitdown

Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.

synthetic-sciences/openscience · 53 tokens

study-plan

A long-term study planner that divides learning into stages and adapts the schedule using practice results. It can also plan focused practice sessions for a specific number of questions or flashcards.

open-octo/octo-agent · 120 tokens