dingo

dingo is a skill for Claude Code, Codex from MadAppGang/claude-code. It costs 39 tokens per session (5,954 once invoked), scanned A, original, MIT.

A language layer for Go that adds features such as shorter error handling, optional values, result values, and pattern matching, then converts the code into regular Go files. The converted code remains compatible with Go tools and libraries.

In plain words
What is it for?
Use it when writing .dingo files, adding safer error and value handling, using generic shortcuts, or converting Dingo code to Go.
Why use it?
It reduces repetitive Go code while allowing the resulting application to use the existing Go ecosystem.

Skill for Claude CodeCodex

Part of the dev plugin — 47 skills, 12 commands, 14 agents shipped together

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 skills/madappgang/claude-code/dingo
Any agent
npx skills add MadAppGang/claude-code --skill dingo
Clone the repo
git clone --depth 1 https://github.com/MadAppGang/claude-code

Made for: Claude Code, Codex.

Or install dev, the plugin that ships this one along with the rest of its 47 skills, 12 commands, 14 agents.

Wrote 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.

agentmods badge for dingo

README.md
[![agentmods](https://agentmods.dev/badge/skills/madappgang/claude-code/dingo.svg)](https://agentmods.dev/skills/madappgang/claude-code/dingo)
Your own site
<a href="https://agentmods.dev/skills/madappgang/claude-code/dingo"><img src="https://agentmods.dev/badge/skills/madappgang/claude-code/dingo.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,954 The whole file, excluding the scripts and references it only reads on demand.
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.00039 $0.05954
Opus 5 $0.00019 $0.02977
Sonnet 5 $0.00008 $0.01191
Haiku 4.5 $0.00004 $0.00595

Measured yesterday against content hash 8b06525bdc16, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dingo 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 yesterday.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • dingo — 100% identical, 13 lines differ
plugins/dev/skills/backend/dingo/SKILL.md · 937 lines

How it starts

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

Dingo Language Patterns

Overview

Dingo is a meta-language for Go that transpiles .dingo files to .go files, providing modern language features while maintaining 100% Go ecosystem compatibility.

Repository: https://github.com/MadAppGang/dingo

When to use Dingo:

  • You want concise error handling with the ? operator
  • You need sum types (enums) and pattern matching
  • You prefer functional patterns with lambdas
  • You want Option[T] and Result[T,E] types
  • You need safe navigation (?.) and null coalescing (??)

Key Philosophy: Dingo makes common Go patterns more concise and safer without departing from Go idioms. The transpiled Go code is clean and idiomatic.

Project Structure

project/
├── cmd/
│   └── api/
│       └── main.dingo         # Entry point
├── internal/
│   ├── handlers/              # HTTP handlers (.dingo files)
│   ├── services/              # Business logic
│   ├── repositories/          # Data access
│   └── models/                # Domain models
├── pkg/                       # Public packages
├── configs/                   # Configuration
├── go.mod                     # Go module file
├── go.sum                     # Go dependencies
└── .dingo/                    # Generated .go files (gitignored)

Build & Development Workflow

Commands

dingo build          # Transpile to Go and build binary
dingo run main.dingo # Transpile and run directly
dingo go             # Generate .go files only (for CI/CD)
dingo fmt            # Format Dingo files

Development Cycle

  1. Write: Edit .dingo files
  2. Transpile: Run dingo go to generate .go files in .dingo/
  3. Type Check: gopls works on generated .go files for IDE support
  4. Build: dingo build or go build on generated files

IDE Integration

gopls (Go language server) works on the generated .go files:

# After dingo go, gopls sees:
.dingo/
├── cmd/api/main.go
├── internal/handlers/user.go
└── internal/services/user.go

Read the full file on GitHub · 937 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. yesterday First seen · 937 lines · 39 tokens per session scan A 8b06525bdc16

Subscribe to this mod's changes

dingo is a skill published in the GitHub repository MadAppGang/claude-code (279 stars, last pushed 5mo ago), licensed MIT. It adds 39 tokens to every session and 5,954 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-09-03.