Automation

92 mods

Automation mods work in the background without drawing anything: they react to session and turn events, run timers, call processes or the network, and keep state between sessions.

git-branch

MatheusChiodi/cockpit

/gb lists local branches with the current one marked, or switches to a branch and creates it when missing

★ 2CommandsAutomation

git-context

MatheusChiodi/cockpit

Attaches the git state (branch and changed files) to every prompt as hidden context

★ 2PromptAutomation

git-fixup

MatheusChiodi/cockpit

/fixup commits the staged changes as a fixup of HEAD or any commit, ready for rebase --autosquash

★ 2CommandsAutomation

git-peek

MatheusChiodi/cockpit

/gs, /gl and /gd: git status, log and diff right away, without spending a model turn

★ 2CommandsAutomation

git-stage

MatheusChiodi/cockpit

/stage lists what is staged, unstaged and new; /stage stages them and -r unstages, asking first

★ 2CommandsAutomation

git-stash

MatheusChiodi/cockpit

/gst stashes the working tree with a message, pops the latest stash after asking, or lists the stashes

★ 2CommandsAutomation

git-switch

MatheusChiodi/cockpit

/gsw switches branch carrying your uncommitted work: stashes it, switches, and offers it back when you return

★ 2CommandsAutomation

git-sync

MatheusChiodi/cockpit

/sync fetches and shows how far the branch is from its base; /sync rebase or merge brings the base in after asking

★ 2CommandsAutomation

git-tag

MatheusChiodi/cockpit

/gtag shows the latest tag and the commits since; /gtag patch, minor or major creates the next version tag after asking

★ 2CommandsAutomation

git-undo

MatheusChiodi/cockpit

/gundo shows the last commit and, once you confirm, undoes it with a soft reset; refuses a pushed commit

★ 2CommandsAutomation

hash

MatheusChiodi/cockpit

/hash gives the SHA-256 and SHA-1 of a text in hex and copies the SHA-256

★ 2CommandsAutomation

head-file

MatheusChiodi/cockpit

/head shows the first numbered lines of a project file, and never prints files that hold secrets

★ 2CommandsAutomation

heavy-calls

MatheusChiodi/cockpit

/heavy lists the five tool results that took the most context this session, with tool, target and size

★ 2GuardsCommandsAutomation

hit-count

MatheusChiodi/cockpit

/hits counts how many times a text appears in each tracked file, most first

★ 2CommandsAutomation

http-probe

MatheusChiodi/cockpit

/http makes a GET request and shows the status, content type, size and first lines of the body

★ 2CommandsAutomation

ignore-check

MatheusChiodi/cockpit

/ignored tells whether git ignores a path and which rule does it

★ 2CommandsAutomation

issue-context

MatheusChiodi/cockpit

When your prompt names an issue (issue #12 or an issue link), its title, labels and text reach Claude as hidden context

★ 2PromptAutomation

issue-link

MatheusChiodi/cockpit

/closes 12 adds "Closes #12" to the current pull request so the issue closes on merge, after asking

★ 2CommandsAutomation

json-tool

MatheusChiodi/cockpit

/json validates and pretty-prints JSON, and says the line and column of a syntax error

★ 2CommandsAutomation

jwt

MatheusChiodi/cockpit

/jwt decodes a JWT's header and payload locally, with dates in readable form, and never verifies or sends it

★ 2CommandsAutomation

kill-port

MatheusChiodi/cockpit

/killport finds the process listening on a port, names it and ends it after you confirm

★ 2CommandsAutomation

last-error

MatheusChiodi/cockpit

/lasterr recalls the most recent shell command that failed this session and the end of its output

★ 2GuardsCommandsAutomation

loc-count

MatheusChiodi/cockpit

/loc counts lines of code by file type for the project or a path, with a total

★ 2CommandsAutomation

long-cmd-notify

MatheusChiodi/cockpit

Sends a native notification when a shell command that ran two minutes or more finishes

★ 2GuardsAutomation