Genie hacks

From automagik-dev/genie · View interactive version

Genie hacks is an AI agent skill from the GitHub repository automagik-dev/genie. Browse, search, and contribute community hacks — real-world patterns for provider switching, teams, skills, hooks, cost optimization, and more.

How to use this skill

Skill file

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

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.

If gh is missing or unauthenticated, or any GitHub step fails, save the formatted hack to ~/.genie/cache/pending-hacks/<hack-id>.md and relay the manual steps; never lose the write-up.

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.