Borrowing it
Nothing to install: this file belongs to BariBariGood/manzanas. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/BariBariGood/manzanas/main/.agents/skills/build-and-test/SKILL.mdgit clone --depth 1 https://github.com/BariBariGood/manzanasWrote 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/baribarigood/manzanas/build-and-test)<a href="https://agentmods.dev/skills/baribarigood/manzanas/build-and-test"><img src="https://agentmods.dev/badge/skills/baribarigood/manzanas/build-and-test/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/baribarigood/manzanas/build-and-test"><img src="https://agentmods.dev/badge/skills/baribarigood/manzanas/build-and-test.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.00057 | $0.00621 |
| Opus 5 | $0.00028 | $0.00311 |
| Sonnet 5 | $0.00011 | $0.00124 |
| Haiku 4.5 | $0.00006 | $0.00062 |
Grade B, and why
build-and-test scanned grade B with 1 finding 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 11d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
need sudo there. How it starts
The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Build and test manzanasd
Pure Go (module github.com/BariBariGood/manzanas, needs a recent stable Go
toolchain). Everything below runs on Linux — no Mac required for the core
gate.
The PR gate — run ALL of these before opening a PR
go build ./...
go vet ./...
go test ./...
gofmt -l . # must print NOTHING; fix with gofmt -w on the listed files
make build produces bin/manzanasd, bin/manzanas, bin/manzanas-broker;
make lint = vet + gofmt check. Unit tests are Linux-safe by design (mock
registry, httptest fake daemons); code that needs macOS is behind interfaces
(e.g. warm.Host) with fakes — keep it that way.
CI (.github/workflows/ci.yml)
The test job runs the same four commands on a two-leg matrix
(ubuntu-latest + macos-latest).
Notes:
setup-gousesgo-version: "stable", NOT 1.22 — the Go 1.22 linker emits binaries withoutLC_UUID, which macOS 26 refuses to execute. Don't pin the version down.- Keep macOS-leg tests fast and never add steps that boot simulators or need sudo there.
Other workflows: release.yml (GoReleaser on v* tags), site.yml
(site/ npm build; only triggers on site changes).
simbridge (warm-actions helper)
CI cannot build it (needs macOS + Xcode + AXe frameworks). Build on a Mac:
helpers/simbridge/build.sh ~/bin/simbridge # AXe frameworks at ~/axe/Frameworks
AXE_FRAMEWORKS=/opt/axe/Frameworks helpers/simbridge/build.sh # other installs
The binary rpath-pins the frameworks dir it was built against — build on (or
for) the host that runs it, one binary per architecture. If the shipped
.swiftmodules don't match the local Swift compiler, rebuild the AXe
frameworks first (see docs/actions-warm.md).
Conventions
- Protocol changes:
proto/Go types are the source of truth;proto/PROTOCOL.mddescribes semantics. Within v0 changes must be additive. Same rule for the journal format (docs/journal.md). - The daemon owns all stateful policy in Go (unit-testable on Linux); helpers like simbridge stay deliberately dumb.
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.
- 11d ago First seen · 63 lines · 57 tokens per session scan B e8f360656aab
build-and-test is a skill published in the GitHub repository BariBariGood/manzanas (20 stars, last pushed 9d ago), licensed Apache-2.0. It adds 57 tokens to every session and 621 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
go-testing
Use when writing, reviewing, or improving Go test code — including table-driven tests, subtests, parallel tests, test helpers, test doubles, and assertions with cmp.Diff. Also use when a user asks to write a test for a Go function, even if they don't mention specific patterns like table-driven tests or subtests. Does…
go-test-implementation
Executable Go falsifiers. Use for test-only changes or non-routine fixtures and harnesses, selecting cases and assertions from accepted behavior during implementation.
golang-testing
Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, code coverage, integration tests, idiomatic test naming. Use when writing or reviewing Go tests, choosing a testing approach, setting up Go test CI…
Go Testing Patterns
Go testing with testing package, table-driven tests, subtests, benchmarks, test fixtures, httptest, and testify assertions.
golang-stretchr-testify
Comprehensive guide to stretchr/testify for Golang testing. Covers assert, require, mock, and suite packages in depth. Use when writing tests with testify, creating mocks, setting up test suites, or choosing between assert and require. Covers testify assertions, mock expectations, argument matchers, call verification…
timeouts-and-async
Make Ginkgo specs interruptible and test asynchronous behavior — SpecContext/context.Context cancellable nodes, NodeTimeout/SpecTimeout/GracePeriod, the --timeout flag, Abort and SIGINT behavior, Gomega Eventually/Consistently (the func(g Gomega) form, .WithContext), and the defer GinkgoRecover() rule for goroutines.…