Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/aaronbassett/agent-foundrynpx agentmods add skills/aaronbassett/agent-foundry/init-local-toolingWrote 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/aaronbassett/agent-foundry/init-local-tooling)<a href="https://agentmods.dev/skills/aaronbassett/agent-foundry/init-local-tooling"><img src="https://agentmods.dev/badge/skills/aaronbassett/agent-foundry/init-local-tooling/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/aaronbassett/agent-foundry/init-local-tooling"><img src="https://agentmods.dev/badge/skills/aaronbassett/agent-foundry/init-local-tooling.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.00143 | $0.03405 |
| Opus 5 | $0.00072 | $0.01702 |
| Sonnet 5 | $0.00029 | $0.00681 |
| Haiku 4.5 | $0.00014 | $0.00341 |
Grade A, and why
dev-specialisms:init-local-tooling 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 8d 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 — 577 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Local Tooling Initialization
Comprehensive setup for linting, formatting, type checking, testing, Git hooks, CI/CD, and publishing across TypeScript, Rust, and Python projects.
When to Use This Skill
Use this skill when you need to:
- Initialize tooling for a new TypeScript/Rust/Python project
- Set up monorepo with Nx + pnpm workspaces
- Configure Git hooks with lefthook (conventional commits, pre-commit, pre-push)
- Add GitHub Actions for CI/CD
- Set up automated publishing to npm/crates.io/PyPI
- Configure version bumping and changelog generation with Changesets
- Migrate from Husky to lefthook
- Choose between ESLint+Prettier vs Biome for TypeScript
Quick Start
TypeScript Project
Automated setup:
./scripts/init_typescript.sh
Choose tooling:
- Biome (recommended) - Fast, all-in-one, modern
- ESLint + Prettier - Traditional, highly configurable
What you get:
- Linting and formatting
- TypeScript strict mode
- Vitest for testing
- Package.json scripts
→ See: references/typescript.md
Rust Project
Manual setup (opinionated configs in assets/):
# Tools come with Rust
rustup component add rustfmt clippy
# Optional: Enhanced tooling
brew install cargo-nextest cargo-deny
# Copy configs from assets/configs/rust/
cp assets/configs/rust/rustfmt.toml .
cp assets/configs/rust/clippy.toml .
→ See: references/rust.md
Python Project
Using uv (recommended):
# Install uv
brew install uv
# Create project
uv init my-project
cd my-project
# Add dev dependencies
uv add --dev ruff mypy pytest
# Copy config from assets/
cp assets/configs/python/pyproject.toml .
→ See: references/python.md
Monorepo Setup
Create Nx + pnpm monorepo:
./scripts/init_monorepo.sh
Or manually:
npx create-nx-workspace@latest my-monorepo
# Choose: pnpm + integrated monorepo
→ See: references/monorepo.md
What ships with it
30 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- assets/configs/git-hooks/commitlint.config.js 1.2 KB runs code
- assets/configs/git-hooks/lefthook.yml 2.1 KB
- assets/configs/monorepo/nx.json 1.3 KB
- assets/configs/monorepo/pnpm-workspace.yaml 273 B
- assets/configs/python/pyproject.toml 2.3 KB
- assets/configs/python/ruff.toml 1.2 KB
- assets/configs/rust/clippy.toml 497 B
- assets/configs/rust/deny.toml 871 B
- assets/configs/rust/rustfmt.toml 708 B
- assets/configs/typescript/.prettierrc.json 229 B
- assets/configs/typescript/biome.json 830 B
- assets/configs/typescript/eslint.config.js 1.2 KB runs code
- assets/configs/typescript/tsconfig.strict.json 1.0 KB
- assets/workflows/ci.yml 3.4 KB
- assets/workflows/publish-changesets.yml 1.7 KB
- assets/workflows/publish-crates.yml 923 B
- assets/workflows/publish-npm.yml 829 B
- assets/workflows/publish-pypi.yml 876 B
- references/ci-cd.md 8.0 KB
- references/git-hooks.md 11 KB
- references/monorepo.md 13 KB
- references/publishing.md 9.0 KB
- references/python.md 11 KB
- references/rust.md 9.6 KB
- references/typescript.md 10 KB
- references/version-management.md 9.4 KB
- scripts/init_typescript.sh 5.6 KB runs code
- scripts/setup_changesets.sh 3.4 KB runs code
- scripts/setup_lefthook.sh 6.1 KB runs code
- scripts/validate_all.sh 4.5 KB runs code
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.
- 8d ago First seen · 577 lines · 143 tokens per session scan A cba41f2c80c6
dev-specialisms:init-local-tooling is a skill published in the GitHub repository aaronbassett/agent-foundry (4 stars, last pushed 23d ago), licensed MIT. It adds 143 tokens to every session and 3,405 once invoked, about $0.0007 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-31.
Other skills, from other repositories
ax-rust-llm
Use when writing Rust code with axllm for using the generated Ax package, factory functions, package docs, examples, and API reference.
ax-rust-signature
Use when writing Rust code with axllm for string signatures, field descriptors, JSON schema output, validation, and typed tool argument shapes.
dd-code-generation
Use pup CLI for immediate Datadog operations or generate code for integration into applications.
solana
Use when working on Solana software, including one or more of: Solana client code using TypeScript, Rust libraries that use Solana crates, Anchor programs, Quasar programs, LiteSVM tests, including Rust program files, TypeScript tests, and Anchor.toml or Quasar.toml configuration. Designed to create minimal, reusable…
solana-toolkit-guide
Guide to the Solana Wallet Toolkit — vanity address generation with multi-threaded search, official Solana Labs libraries, Rust and TypeScript implementations. Includes wallet generation, custom address prefixes, and OG names on the blockchain.
architecture-audit
Systematic architecture audit and refactoring methodology for Rust + TypeScript codebases. Use when performing refactoring, cleanup, unification, code review, dead code removal, module reorganization, or tech debt elimination. Ensures no naming confusion, semantic overloading, hidden defaults, duplicate logic, or…