Synaptic-Tuner AGENTS.md

Repository instructions for an AI coding agent working on Synaptic-Tuner, a project for fine-tuning machine-learning models in the cloud.

In plain words
What is it for?
Following the project's documented skills, checking existing commands before adding scripts, and synchronising instruction copies after changes.
Why use it?
They keep training, evaluation, configuration, and shared instruction files consistent, reducing repeated mistakes and improvised workflows.

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/profsynapse/synaptic-tuner/agents-md
Clone the repo
git clone --depth 1 https://github.com/ProfSynapse/Synaptic-Tuner

Made for: Codex, OpenCode.

Per session 1,317 This file is loaded in full into every session.
When invoked 1,317 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.01317 $0.01317
Opus 5 $0.00659 $0.00659
Sonnet 5 $0.00263 $0.00263
Haiku 4.5 $0.00132 $0.00132

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

Security

Grade A, and why

Synaptic-Tuner 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 2d 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 · 50 lines

How it starts

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

Project Agent Notes

This repository has a few cloud-training constraints that are easy to relearn the hard way.

Fine-Tuning Workflow Discipline

  • For any task in this repo, begin by loading the most relevant canonical skill from .skills/. For fine-tuning, cloud training, evaluation, experiment-loop, checkpoint-eval, model-selection, or dataset-publishing work, that starting point is usually the fine-tuning skill.
  • .skills/ is the canonical skill source for this repo. .agents/skills and .claude/skills are synced copies and must match it exactly.
  • After changing canonical skills, run python3 .skills/scripts/sync_skill_trees.py and verify with python3 .skills/scripts/sync_skill_trees.py --check.
  • Before building a new script, helper, or one-off workflow to run something, first check whether the needed command, script, CLI surface, or skill guidance already exists in the repo.
  • Do not create throwaway scripts just to get a task done if an existing script, CLI, or skill can be used or extended.
  • If the capability does not exist, the next step is not an ad hoc workaround. Update the relevant skill and add the proper checked-in script/CLI workflow so the new capability is reusable.
  • Prefer repo CLIs and checked-in scripts over manual bucket/API probing whenever those surfaces exist.

Config-First Generation Discipline

  • This repo is format-agnostic. Do not treat the current tool wrapper, CLI shape, or toy dataset format as a runtime truth.
  • For generation and evaluation tasks, do not change runtime code to support one user's current tool schema, wrapper, commands, examples, or dataset shape. Use config, scenario YAML, rubric YAML, schema files, or checked-in declarative config instead.
  • Only change parser, executor, judge, evaluator, or generation code when the project is intentionally adding a reusable runtime capability that cannot be expressed by existing config surfaces. If that is necessary, stop first and explain why config is insufficient.
  • Do not hardcode any current dataset/example format into parser, executor, judge, evaluator, or generation code.
  • Tool-call shapes, wrapper names, context fields, command examples, and dataset-specific assumptions must live in config or scenario/rubric YAML, not in code.
  • If a generation/eval bug appears to be specific to the current CLI/tool wrapper, the first fix path is config, rubric, or scenario work, not runtime code changes.
  • Generic runtime code may validate or transport configured formats, but it must not assume one specific wrapper such as useTools, one specific field set, or one specific command structure unless that behavior is itself config-driven.
  • When using environment-backed validation during generation, environment/runtime errors must be surfaced into the judge/improver inputs as structured context so the model can correct the response. Do not rely on ad hoc parser/executor repairs as the primary fix path.
  • If a process requirement is important enough to affect how generation/eval work is done repeatedly, encode it in AGENTS.md, the canonical skill under .skills/, and the relevant checked-in config/docs before continuing.
  • For new unsteered local batch generation, prefer batch-generate --engine vllm. Set VLLM_BATCH_INVARIANT=1 before process startup and pin the exact vLLM version, documented minimum CUDA compute capability, model and tokenizer revisions, dtype, tensor parallel size, scheduler limits, structured-output backend, model context limit, multimodal limits, decode settings, and JSON Schema when formatting is incidental. Keep generated rows and token artifacts in the consuming project's private output directory.

Read the full file on GitHub · 50 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. 2d ago First seen · 50 lines · 1,317 tokens per session scan A 4f306b74feaa

Subscribe to this mod's changes

Synaptic-Tuner AGENTS.md is an instructions file published in the GitHub repository ProfSynapse/Synaptic-Tuner (27 stars, last pushed 2d ago), licensed MIT. It adds 1,317 tokens to every session, about $0.0066 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-30.

Related

Other instructions, from other repositories

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,345 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

next.js AGENTS.md

Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens