Agent skill

Reagami

by PEZ in PEZ/epupp

Reagami UI library patterns for Epupp Squint components. An agent skill from PEZ/epupp.

MITAuto-check passedDevelopment

Install Reagami

skills CLI
$ npx skills add PEZ/epupp --skill reagami -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install PEZ/epupp reagami --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/PEZ/epupp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/reagami .claude/skills/reagami && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
reagami
GitHub stars
116
Token cost
~1.4k tokens
SKILL.md length
267 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

Reagami UI library patterns for Epupp Squint components. An agent skill from PEZ/epupp.

  • Modifying Reagami components
  • SKILL.md covers Reagami is not Reagent, Component Patterns, Event Handling and Nested Components, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Hiccup UI in popup.cljs

What it does

Reagami is an agent skill from PEZ/epupp. Reagami UI library patterns for Epupp Squint components. Use when: writing or modifying Reagami components, hiccup UI in popup.cljs or panel.cljs, event handlers with Uniflow dispatch, :on-render lifecycle hooks, list rendering with keys, or comparing Reagami to Reagent. Covers component patterns, class shorthand, and Epupp-specific examples. IMPORTANT: Also load when planning UI changes that use Reagami.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. The repository describes itself as: A web browser extension that lets you tamper with web pages, live and/or with userscripts. The licence is MIT.

When your agent uses it

  • Modifying Reagami components
  • Hiccup UI in popup.cljs
  • Event handlers with Uniflow dispatch
  • :on-render lifecycle hooks

Example prompts

  • “/reagami”

What it can do on your machine

Read from SKILL.md and the folder at commit 566ce34. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are clojure).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Reagami loads about 1.4k tokens when it runs. Until then it costs about 104 tokens; SKILL.md has 267 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~104
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from PEZ/epupp at commit 566ce34, republished under its MIT licence (© PEZ). 267 words, ~1,409 tokens.

Download SKILL.mdSave it as .claude/skills/reagami/SKILL.md (or your agent's skills folder).
name
reagami
description
Reagami UI library patterns for Epupp Squint components. Use when: writing or modifying Reagami components, hiccup UI in popup.cljs or panel.cljs, event handlers with Uniflow dispatch, :on-render lifecycle hooks, list rendering with keys, or comparing Reagami to Reagent. Covers component patterns, class shorthand, and Epupp-specific examples. IMPORTANT: Also load when planning UI changes that use Reagami.

Reagami

Reagami is a minimal React-like UI library for Squint/ClojureScript, inspired by React's component model but simplified for direct DOM manipulation without a virtual DOM.

Reagami is not Reagent

Key differences from Reagent:

  • No fragment :<> - use wrapping divs instead
  • No ratoms - use Uniflow for state management
  • Components are plain functions returning hiccup vectors

Component Patterns

Basic Component

Components are functions returning hiccup vectors:

clojure
(defn greeting [{:keys [name]}]
  [:div.greeting
   [:h1 "Hello, " name "!"]])
Components with Children

Pass children as part of the props or use nested hiccup:

clojure
(defn card [{:keys [title]} & children]
  [:div.card
   [:h2 title]
   [:div.card-body children]])

;; Usage
[card {:title "My Card"}
  [:p "Card content here"]]
Event Handlers

Use :on-click, :on-input, etc:

clojure
(defn button [{:keys [on-click label]}]
  [:button {:on-click on-click} label])

(defn input-field [{:keys [value on-change]}]
  [:input {:type "text"
           :value value
           :on-input (fn [e] (on-change (.. e -target -value)))}])
Conditional Rendering

Use when and if:

clojure
(defn status-badge [{:keys [status]}]
  [:div
   (when status
     [:span.badge {:class (when (= status "error") "badge-error")}
      status])])
Lists with Keys

Use ^{:key ...} metadata for list items:

clojure
(defn item-list [{:keys [items]}]
  [:ul
   (for [item items]
     ^{:key (:id item)}
     [:li (:name item)])])
Class Shorthand

Use .class syntax in element keywords:

clojure
[:div.container.main
  [:span.label "Text"]]
;; Equivalent to:
[:div {:class "container main"}
  [:span {:class "label"} "Text"]]
Dynamic Classes

Combine static and dynamic classes:

clojure
[:div.item {:class (str (when active "active ")
                        (when selected "selected"))}
  content]

Event Handling

Reagami components dispatch actions via Uniflow. See ../../../dev/docs/architecture/uniflow.md for the full event system documentation.

clojure
;; In components, call the module's dispatch! function
[:button {:on-click #(dispatch! [[:editor/ax.save-script]])} "Save"]

;; Multiple actions in one dispatch
[:button {:on-click #(dispatch! [[:editor/ax.clear-results]
                                  [:editor/ax.check-scittle]])} "Reset"]

Nested Components

Call components as vector first elements:

clojure
(defn parent [{:keys [items]}]
  [:div
   (for [item items]
     ^{:key (:id item)}
     [child-component item])])  ; Note: [component props] not (component props)

Common Patterns from Epupp

Port Input Component
clojure
(defn port-input [{:keys [id label value on-change]}]
  [:span
   [:label {:for id} label]
   [:input {:type "number"
            :id id
            :value value
            :min "1"
            :max "65535"
            :on-input (fn [e] (on-change (.. e -target -value)))}]])
Item with Actions

Components use Uniflow dispatch for state changes:

clojure
(defn script-item [{:keys [script/name script/enabled] script-id :script/id}]
  [:div.script-item
   [:div.script-info
    [:span.script-name name]]
   [:div.script-actions
    [:input {:type "checkbox"
             :checked enabled
             :on-change #(dispatch! [[:toggle-script script-id]])}]
    [:button.delete {:on-click #(dispatch! [[:delete-script script-id]])}
     "Delete"]]])

The :on-render Hook

Reagami provides an :on-render hook for lifecycle management. It fires on mount, update, and unmount.

Signature: (fn [node lifecycle data] ...)

  • node - the DOM node
  • lifecycle - one of :mount, :update, or :unmount
  • data - return value from previous invocation (for carrying state across lifecycles)
clojure
[:div {:on-render (fn [node lifecycle data]
                    (case lifecycle
                      :mount
                      (do
                        ;; Element just added to DOM
                        (.add (.-classList node) "entering")
                        (js/requestAnimationFrame
                          #(.remove (.-classList node) "entering"))
                        nil)

                      :update
                      ;; Element re-rendered (can track update count via data)
                      data

                      :unmount
                      ;; Element being removed from DOM
                      ;; NOTE: Too late to delay removal - element is already leaving
                      nil))}
 content]

Use cases:

  • Mount animations (add class on mount, remove after 1 frame to trigger CSS transition)
  • Third-party library integration (initialize on mount, cleanup on unmount)
  • Tracking update counts via returned data

Limitation for exit animations: By the time :unmount fires, Reagami has already decided to remove the element. For exit animations that need to delay removal, use state-level patterns (like list-watchers) instead.

See Reagami README for more details.

© PEZ, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .github/skills/reagami of PEZ/epupp.

Open the folder on GitHubat commit 566ce34

Compare with similar skills

Reagami next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Reagami compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Reagami this skillPEZ/epupp116—~1.4kAutomated safety check: PassMIT
Vercel Composition Patternssupabase/supabase111k58 repos~726Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k25 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 58 repos~726 tokens
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 25 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed

More from PEZ/epupp

  • Epupp Squint

    PEZ/epupp

    Epupp-specific Squint source conventions for src/. An agent skill from PEZ/epupp.

    116 GitHub stars~814 tokensUpdated 14 days ago
    Auto-check passed
  • Epupp Dev

    PEZ/epupp

    Epupp architecture, development patterns, and system contracts.

    116 GitHub stars~2.4k tokensUpdated 14 days ago
    Auto-check passed
  • Epupp Design

    PEZ/epupp

    Epupp design context, principles, and visual foundation. An agent skill from PEZ/epupp.

    116 GitHub stars~610 tokensUpdated 14 days ago
    Auto-check passed
  • Babashka

    PEZ/epupp

    Babashka scripting conventions for the Epupp project. An agent skill from PEZ/epupp.

    116 GitHub stars~360 tokensUpdated 14 days ago
    Auto-check passed

Categories

Questions about Reagami

What does Reagami do?

Reagami UI library patterns for Epupp Squint components. An agent skill from PEZ/epupp. Reagami is an agent skill from PEZ/epupp. Reagami UI library patterns for Epupp Squint components.

When should I use Reagami?

Reagami fits situations like: modifying Reagami components; hiccup UI in popup.cljs; event handlers with Uniflow dispatch; :on-render lifecycle hooks.

How do I install Reagami in Claude Code?

Run `npx skills add PEZ/epupp --skill reagami -a claude-code`. Or copy the skill folder (.github/skills/reagami in PEZ/epupp) into .claude/skills/reagami in your project. Claude Code loads it when a task matches its description.

How do I install Reagami in Codex?

Run `npx skills add PEZ/epupp --skill reagami -a codex`. Or copy the skill folder (.github/skills/reagami in PEZ/epupp) into .agents/skills/reagami in your project. Codex loads it when a task matches its description.

Can I use Reagami in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PEZ/epupp --skill reagami -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/reagami, .gemini/skills/reagami, .github/skills/reagami and .opencode/skills/reagami in your project.

What does Reagami need to run?

SKILL.md names no scripts, command-line tools or credentials: Reagami is instructions for the agent only.

Does Reagami access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Reagami safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Reagami use?

Reagami is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Reagami use?

About 1.4k tokens (SKILL.md is roughly 5.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Reagami?

Skills that share tags, products or a category with Reagami: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 297k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Reagami?

PEZ (a GitHub user) maintains it in PEZ/epupp, which has 116 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on September 25, 2026.

Source: PEZ/epupp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.