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.
npx skills add vynazevedo/first-plan --skill lens-gogit clone --depth 1 https://github.com/vynazevedo/first-planWrote 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/vynazevedo/first-plan/lens-go)<a href="https://agentmods.dev/skills/vynazevedo/first-plan/lens-go"><img src="https://agentmods.dev/badge/skills/vynazevedo/first-plan/lens-go/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/vynazevedo/first-plan/lens-go"><img src="https://agentmods.dev/badge/skills/vynazevedo/first-plan/lens-go.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.00046 | $0.01132 |
| Opus 5 | $0.00023 | $0.00566 |
| Sonnet 5 | $0.00009 | $0.00226 |
| Haiku 4.5 | $0.00005 | $0.00113 |
Grade A, and why
first-plan-lens-go 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 9d 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 — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Lens Go
Detecção fina
cmd/<name>/main.go-> binário (CLI ou serviço HTTP)internal/-> lib privada do módulopkg/-> lib públicago.modem raiz com poucas pastas -> lib pequena- Workspace
go.work-> monorepo Go
Frameworks comuns a detectar via imports:
net/httppuro = HTTP stdlibchi,gin,echo,fiber,gorilla/mux= routergqlgen,graph-gophers/graphql-go= GraphQLgrpc-go= gRPCcobra,urfave/cli= CLIkafka-go,segmentio/kafka-go,IBM/sarama= Kafkastreadway/amqp,rabbitmq/amqp091-go= RabbitMQ
Extração de padrões
Layout
- Confirmar uso de
cmd/,internal/,pkg/ - Onde fica o entry point principal (
cmd/<name>/main.go?) - Há separação
handler/,service/,repository/?
Error handling
errors.Newvsfmt.Errorfvserrors.Wrap- Sentinel errors (var ErrNotFound = errors.New(...))
- Custom error types (struct com
Error() string) - Use de
errors.Is/errors.As - Pacote externo (
pkg/errors,cockroachdb/errors,hashicorp/go-multierror)
Verificar:
- Os handlers retornam erro tipado ou string?
- Errors são wrapped com contexto adicional?
- Há padrão para mapear erro -> HTTP status?
Context
context.Contexté primeiro parametro? (idiomatic)context.Background()oucontext.TODO()em produção? (smell)- Uso de
context.WithTimeout/WithCancel
Concurrency
- Goroutines + channels?
sync.WaitGrouppara coordenar?errgroup.Group(golang.org/x/sync)?- Pools de worker?
Code generation
go generatedirective em arquivos?mockgen,mockerypara mocks?sqlc,oapi-codegen,protoc-gen-go?- Geradores customizados (sinal: arquivos
*.gen.go,*.pb.go,wire_gen.go)
Build tags
//go:build <tag>em arquivos- Tags comuns:
integration,e2e,wireinject
Testing
_test.goirmão de cada arquivo?testify/assertou stdlib?- Table-driven (presença de
t.Runem loop)? - Testes de integração separados (build tag
integration)? - Mocks: gerados ou manuais?
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.
- 9d ago First seen · 116 lines · 46 tokens per session scan A 376035a771ac
first-plan-lens-go is a skill published in the GitHub repository vynazevedo/first-plan (23 stars, last pushed 15d ago), licensed MIT. It adds 46 tokens to every session and 1,132 once invoked, about $0.0002 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.
Other skills, from other repositories
goframe-v2
GoFrame development skill. TRIGGER when writing/modifying Go files, implementing services, creating APIs, or database operations. DO NOT TRIGGER for frontend/shell scripts.
golang-patterns
A collection of idiomatic Go patterns for building clear, robust, and maintainable applications. It covers error handling, interfaces, zero values, and package design.
ring:verifying-code
Verifying a Go project: runs every quality check (lint, vet, imports, format, docs, unit, integration, E2E) and returns a single MERGEREADY or NEEDSFIX verdict. Report-only: never fixes anything. Use for a quick pre-merge or pre-PR check outside a full dev-cycle. Skip when not a Go project, when you want a single…
go
Use when writing, reviewing, testing, or shipping Go code and HTTP services: idioms, %w error wrapping, goroutine/context/errgroup concurrency, net/http 1.22 routing, log/slog, project layout, table-driven tests, Go hardening. NOT language-agnostic threat modeling (that is secure-coding), NOT Dockerfile/CI shipping…
golang-rules
Go coding rules: style, patterns, security, testing. Triggers: .go, go.mod, go.sum, Gin, Echo, Gorilla, testing, gofmt.
golang-development
You MUST activate this skill when working on Go projects.