ai-tools
Skill0 starsChanged 3 months agoMITView on GitHub
Use when running local, offline-first ML tooling (mechanistic interpretability PoCs like refusal-direction ablation on local safetensors or the HF cache), when adding self-contained model experiments that print JSON, or when post-training, distilling (s1K/R1-style), or RLVR/GRPO-tuning a reasoning or domain model.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- BojanKocijan/design-forgetheir own version, first seen Oct 13, 2026
- AITOP-NEWS/SKILLStheir own version, first seen Oct 13, 2026
- BojanKocijan/bk-charterlinetheir own version, first seen Oct 13, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- BojanKocijan/bk-charterline★ 4same name
- BojanKocijan/design-forge★ 4same name
- AITOP-NEWS/SKILLS★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository110 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/project-bootstrap/templates/agents.mdAGENTS.md
- a11y-auditSkill
- agentic-ragSkill
- agent-reachSkill
- ai3d-genSkill
- ai-coding-dictionarySkill
- animation-directionSkill
- api-specSkill
- architecture-diagramsSkill
- architectureSkill
- ascii-artSkill
- ask-bundleSkill
- binary-triageSkill
- bragSkill
- brag-slimSkill
- career-opsSkill
- code-reviewSkill
- computer-useSkill
- context7Skill
- context-hygieneSkill
- creative-engineeringSkill
- cu-realtimeSkill
- data-analystSkill
- databaseSkill
- dead-wireSkill
- debuggingSkill
- deploySkill
- devin-configSkill
- dispatching-parallel-agentsSkill
- dmaSkill
- dockerSkill
- drift-reportSkill
- e2e-testingSkill
- edge-casesSkill
- executionSkill
- fact-checkSkill
- finishing-a-development-branchSkill
- firmware-probeSkill
- frontend-designSkill
- gatesSkill
- ghidraSkill
- ghSkill
- github-actionsSkill
- git-workflowsSkill
- grillingSkill
- handoffSkill
- humanizerSkill
- hyperframesSkill
- i18nSkill
- image-forensicsSkill
- impeccableSkill
- implement-layaSkill
- intakeSkill
- jiraSkill
- knowledge-modelingSkill
- laya-orchestratorSkill
- learn-modeSkill
- mcp-governanceSkill
- media-toolsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
No network: real inputs come from explicit file paths or the local HF cache only.
- Distinctive: line 35
Use this playbook when building, adapting, or distilling a custom reasoning or domain-specialist model (source architecture: Raschka *Build …
- Distinctive: line 57
Verifier before trainer: never write a GRPO or distillation loop before the deterministic verifier (G1) is unit-tested on edge cases …
- Very specific: line 59
Distill
<7B, RLVR>=7B: do not spend GPU hours running pure RLVR from scratch on sub-3B models expecting emergent reasoning. - Very specific: line 60
Condition format rewards on correctness: if granting a reward bonus for <think>...</think> or \boxed{} tags, gate or scale it by answer …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AI Tools & Model Post-Training Playbook
Covers two surfaces:
- Local offline-first ML experiments in
extensions/ai-tools/(mechanistic interpretability, weight inspection, deterministic verifiers). - Reasoning & domain model post-training playbook (inference-time scaling, SFT distillation, and RLVR with GRPO/DAPO).
1. Local extension (extensions/ai-tools/)
- Bundle source:
extensions/ai-tools/ - Installed:
%APPDATA%\devin\extensions\ai-tools\(Windows) or~/.config/devin/extensions/ai-tools/(POSIX) - Full extension docs:
USAGE.mdinside that directory.
Conventions (all local tools)
- Self-contained
<tool>.pywith__main__guard and JSON on stdout. --self-testruns fully offline asserts; exit 1 on failure.- No network: real inputs come from explicit file paths or the local HF cache only.
- Deps pinned in
requirements.txt, installed on demand.
Current tools
abliterator.py: refusal-direction orthogonalization PoC (Arditi et al. 2024): difference-in-means direction, activation ablation, residual-weight orthogonalization. Dummy tensors by default;--weights F.safetensorsor--model <cached>for real weights.prompt_compiler.py: deterministic prompt compilation againstknowledge_bases/.
2. Reasoning & Domain Model Post-Training Playbook
Use this playbook when building, adapting, or distilling a custom reasoning or domain-specialist model (source architecture: Raschka Build a Reasoning Model From Scratch; validated against primary literature below).
Method selector (evidence-based decision tree)
| Target & Regime | Method | Empirical Basis |
| Base/instruct model already solves the task sometimes; weights fixed | Inference-time scaling (Self-Consistency / Majority Voting) over $N$ sampled paths (temp > 0, top-p) + external verifier tie-break | +17.9% GSM8K (arXiv:2203.11171). Allocate sample budget per prompt difficulty for 4x efficiency over uniform best-of-N (arXiv:2408.03314). |
Student model <7B parameters (e.g. Qwen3-0.6B/1.7B/4B) | SFT Reasoning Distillation from a strong teacher (e.g. DeepSeek-R1) on 1k-10k curated traces + optional budget forcing | Distilling teacher traces into small models beats direct RLVR on the small model by a wide margin (arXiv:2501.12948). 1,000 curated examples filtered by difficulty, diversity, and quality suffice (s1, arXiv:2501.19393). |
Base/SFT model >=7B on a verifiable domain (math, code tests, SQL, formal rules) | RLVR with GRPO / DAPO (group-relative advantages from a deterministic verifier, no critic network) | Eliminates PPO value network (~50% less memory, arXiv:2402.03300); elicits emergent self-verification (arXiv:2501.12948, arXiv:2411.15124). |
Full frontier reasoning recipe (>=7B) | Cold-start SFT (thousands of clean traces) -> RLVR (GRPO/DAPO) -> Rejection-sampled SFT -> final RL | Prevents the readability and language-mixing failures of pure zero-SFT RL (DeepSeek-R1 vs R1-Zero, arXiv:2501.12948). |
Phase route & gates
| Gate | Stage | Exit condition |
| G1 | Deterministic Verifier & Decontaminated Eval | Answer extractor + normalizer + equivalence checker (math symbolic equivalence, unit test runner, SQL/AST checker) passes unit tests; held-out benchmark (e.g. MATH-500 / domain suite) is decontaminated against train split (arXiv:2411.15124) and baseline pass@1 recorded. |
| G2 | Inference Baseline (KV Cache + Self-Consistency) | Greedy pass@1 and maj@k (e.g. $k=8, 16$) measured with KV caching + torch.compile; latency and token/answer length distribution logged. |
| G3 | Distillation (SFT on Teacher Traces) | Teacher traces filtered by G1 verifier (keep only verified-correct trajectories, balanced by domain diversity and difficulty per s1K); cross-entropy loss computed on assistant reasoning+answer tokens only; held-out pass@1 beats G2 baseline. |
| G4 | RLVR Training Loop (GRPO / DAPO) | For each prompt $q$, sample group ${o_i}{i=1}^G$, score with G1 verifier, compute group-normalized advantage $\hat{A}{i} = (r_i - \mu_R) / (\sigma_R + \epsilon)$, update policy with clipped ratio. Checkpoints evaluated on held-out split. |
Iron rules for model post-training
- Verifier before trainer: never write a GRPO or distillation loop before the deterministic verifier (G1) is unit-tested on edge cases (formatting variations, symbolic equivalence, timeouts).
- Never use intrinsic self-refinement without an external verifier: asking an LLM to critique and revise its own reasoning without an external verifier or dedicated RL training degrades or stalls accuracy (
arXiv:2310.01798). Pair refinement loops with a deterministic check or verifier score. - Distill
<7B, RLVR>=7B: do not spend GPU hours running pure RLVR from scratch on sub-3B models expecting emergent reasoning; distill from a strong teacher first (arXiv:2501.12948,arXiv:2501.19393). - Condition format rewards on correctness: if granting a reward bonus for
<think>...</think>or\boxed{}tags, gate or scale it by answer correctness; otherwise the policy hacks the format reward with empty or repetitive reasoning. - Drop or decouple KL penalty for long-CoT RLVR (DAPO rules): when training long chain-of-thought from a non-reasoning base, the policy distribution must diverge from the reference model; omit the KL penalty (
beta = 0) or keep it minimal, use token-level policy gradient loss, and skip prompts where all $G$ group samples have identical reward ($\sigma_R = 0$ yields zero gradient;arXiv:2503.14476). - Track 4 collapse signals every N steps: (a) policy entropy (sudden drop = mode collapse), (b) mean/max response length (length inflation / reward hacking), (c) zero-variance group ratio ($\sigma_R = 0$), and (d) held-out
pass@1vs training reward.
Primary references
arXiv:2203.11171: Wang et al. 2022, Self-Consistency Improves Chain of Thought Reasoning in Language Models (ICLR 2023).arXiv:2310.01798: Huang et al. 2023, Large Language Models Cannot Self-Correct Reasoning Yet (ICLR 2024).arXiv:2402.03300: Shao et al. 2024, DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models (GRPO).arXiv:2408.03314: Snell et al. 2024, Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters (ICLR 2025).arXiv:2411.15124: Lambert et al. 2024, Tulu 3: Pushing Frontiers in Open Language Model Post-Training (RLVR & decontamination).arXiv:2501.12948: DeepSeek-AI 2025, DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning.arXiv:2501.19393: Muennighoff et al. 2025, s1: Simple test-time scaling (s1Kcuration & budget forcing).arXiv:2503.14476: Yu et al. 2025, DAPO: An Open-Source LLM Reinforcement Learning System at Scale.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

