genie-hacks

genie-hacks is a skill for Codex from automagik-si/genie. It costs 33 tokens per session (667 once invoked), scanned A, original, Apache-2.0.

A browser for community-contributed Genie hacks: practical patterns for provider switching, teams, skills, hooks, and cost control. It reads a registry to list, search, explain, or accept contributions.

In plain words
What is it for?
Use it to browse the catalogue, search hacks by problem, view a full hack, get suggestions for a problem, or contribute a new one.
Why use it?
It gives you a way to find existing solutions instead of inventing a new pattern. Registry rules keep results limited to documented community entries.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to browse the catalogue, search hacks by problem, view a full hack, get suggestions for a problem, or contribute a new one.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/automagik-si/genie/genie-hacks
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.

Any agent
npx skills add automagik-si/genie --skill genie-hacks
Clone the repo
git clone --depth 1 https://github.com/automagik-si/genie

Made for: Codex.

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 genie-hacks

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/automagik-si/genie/genie-hacks"><img src="https://agentmods.dev/badge/skills/automagik-si/genie/genie-hacks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 667 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00033 $0.00667
Opus 5.5 $0.00013 $0.00267
Sonnet 5.5 $0.00007 $0.00133
Haiku 4.5 $0.00003 $0.00067

Measured 15d ago against content hash 69c38da61732, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

genie-hacks 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 15d 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.

skills/genie-hacks/SKILL.md · 45 lines

How it starts

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

Genie Hacks

Browse real-world Genie patterns contributed by the community: search by problem, explore by category, or contribute your own. No subcommand means list.

Data

  • Registry: read references/catalog.md (relative to this skill directory) before answering any list, search, show or help request. It holds every hack (problem, solution, code, benefit, when to use) and the category table. Never invent a hack that is not in it.
  • Contribute mechanics: read references/contributing.md when running contribute; it has the exact fork, branch and PR commands and the offline fallback.
  • Published page: https://docs.automagik.dev/genie/hacks (source genie/hacks.mdx in automagik-si/docs).

Commands

Command Behavior
list Table of all hacks (ID, title, category), then the count and a contribute nudge.
search <keyword> Case-insensitive match over title, problem, solution and code; per match show ID, title, category and a problem snippet. No matches: suggest broader terms or list.
show <hack-id> Full entry. Unknown ID: suggest the closest IDs.
help <problem> The top three relevant hacks with a one-line why and a quick tip each; prefer a loose match to "no matches".
contribute Guided submission that opens a PR to automagik-si/docs.

Keep output concise: tables for list, the full format only for show.

Contribute

  1. Gather title, problem, solution with code, category (one from the catalog's table), benefit and when-to-use, one question at a time.
  2. Preview the hack in the catalog template and confirm: yes submits, edit re-prompts that field, cancel aborts.
  3. Submit only after the confirmed preview, following references/contributing.md: preflight GitHub access, fork or use the GitHub connector, branch hack/<slug>, append under the category heading in genie/hacks.mdx, commit hack: <title>, open the PR against dev, never main.
  4. Report the PR URL and what happens next.

Read the full file on GitHub · 45 lines

Files

What ships with it

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

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. 15d ago First seen · 45 lines · 33 tokens per session scan A 69c38da61732

Subscribe to this mod's changes

genie-hacks is a skill published in the GitHub repository automagik-si/genie (353 stars, last pushed today), licensed Apache-2.0. It adds 33 tokens to every session and 667 once invoked, about $0.0001 per session on Opus 5.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-11-15.

Related

genie-hacks compared with skills from other repositories

genie-hacks next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
genie-hacksautomagik-si/genieSkill353todayApache-2.0A33Codex
staticFergana-Labs/stashSkill34716d agoMITA0Claude Code, Codex
genie-hacksautomagik-dev/genieSkill35315d agoApache-2.0A33Codex
cleanupFergana-Labs/stashSkill34716d agoMITA24Claude Code
antigravity-cliamirkiarafiei/subagent-cli-skillsSkill1325d agoMITC84Claude Code
slash-command-skill-classification-filterychampion/cskill-agentsSkill367mo agoMITA44Claude Code, Codex
memoized-command-source-aggregationychampion/cskill-agentsSkill367mo agoMITA31Claude Code, Codex