hitkeep: Skill for Claude Code

.agents/skills/go/SKILL.md

go is a skill for Claude Code from PascaleBeier/hitkeep. It costs 113 tokens per session (6,969 once invoked), scanned A, a copy of go, MIT.

A guide to idiomatic Go, the programming language used for many compiled backend and command-line programs. It covers package design, errors, interfaces, concurrency, testing, and project layout.

In plain words
What is it for?
Use it when writing, reviewing, debugging, refactoring, or designing Go code and APIs.
Why use it?
It helps code fit common Go practices, making it easier to read, maintain, review, and less likely to carry patterns from unrelated languages.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

This is PascaleBeier/hitkeep's own configuration. It tells Claude Code how to work on hitkeep itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything hitkeep configures →

Part of the go plugin — 1 skill shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to PascaleBeier/hitkeep. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/PascaleBeier/hitkeep/main/.agents/skills/go/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/PascaleBeier/hitkeep

Made for: Claude Code.

Or install go, the plugin that ships this one along with the rest of its 1 skill.

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 go

README.md
[![agentmods](https://agentmods.dev/badge/skills/pascalebeier/hitkeep/go/github.svg)](https://agentmods.dev/skills/pascalebeier/hitkeep/go)
Your own site
<a href="https://agentmods.dev/skills/pascalebeier/hitkeep/go"><img src="https://agentmods.dev/badge/skills/pascalebeier/hitkeep/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.

agentmods 80×15 button for go

Your own site · 80×15
<a href="https://agentmods.dev/skills/pascalebeier/hitkeep/go"><img src="https://agentmods.dev/badge/skills/pascalebeier/hitkeep/go.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,969 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin 86% copy Near-identical to another mod 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.1 $0.00113 $0.06969
Opus 5.5 $0.00045 $0.02788
Sonnet 5.5 $0.00023 $0.01394
Haiku 4.5 $0.00011 $0.00697

Measured 3mo ago against content hash fcf420856bc3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

go scanned grade A 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 3mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

return fetch(ctx, url)
Origin

This is a copy

86% identical to go — 670 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/go/SKILL.md · 802 lines

How it starts

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

Idiomatic Go: The Go Way

Idiomatic Go patterns and best practices for building robust, efficient, and maintainable applications.

When to Activate

  • Writing new Go code
  • Reviewing or auditing existing Go code
  • Refactoring Go code (especially code that looks like Java/Spring Boot patterns in Go)
  • Designing Go packages, modules, or APIs
  • Choosing between stdlib and third-party libraries
  • Any question about Go project structure, error handling, concurrency, or testing

Core Principles

1. Clear is Better than Clever

Go favors readability and simplicity over abstraction and cleverness. Code should be obvious. If you have to read a function three times to understand its control flow, it needs to be rewritten.

// Idiomatic: Direct, linear control flow. Note: no "Get" prefix — Go omits it.
func LookupUser(id string) (*User, error) {
    user, err := db.FindUser(id)
    if err != nil {
        return nil, fmt.Errorf("finding user %s: %w", id, err)
    }
    return user, nil
}

2. Make the Zero Value Useful

Design types so their zero value is immediately usable without initialization. This eliminates boilerplate constructors. sync.Mutex and bytes.Buffer are the gold standard for this.

// Idiomatic: Ready to use immediately
type Counter struct {
    mu    sync.Mutex
    count int
}

func (c *Counter) Inc() {
    c.mu.Lock()
    c.count++
    c.mu.Unlock()
}

3. Return Early, Keep the Happy Path Left

Handle errors and edge cases immediately and return. Do not use else blocks for the main logic. The "happy path" of your function should never be indented.

Package Organization: Flat by Default

Anti-Pattern: Using deeply nested directory trees or relying heavily on an internal/ folder by default to artificially enforce "Clean Architecture" layers. This leads to circular dependencies and difficult navigation.

1. The Single-Package Default

Start flat. If you are building a microservice or a simple tool, put everything in the root directory (or alongside your main.go). Only create a new package when you truly need a new namespace to clarify the code, or when you need to decouple a strictly independent domain.

Read the full file on GitHub · 802 lines

Files

What ships with it

1 file 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.

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. 3mo ago First seen · 802 lines · 113 tokens per session scan A fcf420856bc3

Subscribe to this mod's changes

go is a skill published in the GitHub repository PascaleBeier/hitkeep (98 stars, last pushed 1mo ago), licensed MIT. It adds 113 tokens to every session and 6,969 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 86% identical to go, differing in 670 lines, and is treated as a copy.

Related

go compared with skills from other repositories

go next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
goPascaleBeier/hitkeepSkill981mo agoMITA113Claude Code
pi-loop-forensicsdimetron/pi-goSkill2326d agoMITA65Claude Code, Codex
nightly-session-watchdimetron/pi-goSkill2326d agoMITA78Claude Code, Codex
lsp-implementblackwell-systems/agent-lspSkill186todayMITA39Claude Code
lsp-cross-repoblackwell-systems/agent-lspSkill186todayMITA41Claude Code
kessoku-dimazrean/kessokuSkill142yesterdayMITA52Claude Code, Codex
functions-developmentCrowdStrike/foundry-skillsSkill389d agoMITA195Claude Code