Index of every page on this site: llms.txt
All skills
bamzc avatar

/agentation

@44a4bdf
Run it yourself

Add Agentation visual feedback toolbar to any React project

Use this Skill: https://skilld.dev/gh/bamzc/claude-skills-frontend/agentation

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈18 tokens for metadata: the name and description. ≈749 when used: this file.

How this Skill uses context

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈72 characters, or 0.9%.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Agentation Setup

Set up the Agentation annotation toolbar in this project.

Requirements

  • React 18+
  • Zero dependencies beyond React

Steps

  1. Check if already installed

    • Look for agentation in package.json dependencies
    • If not found, run npm install agentation (or pnpm/yarn based on lockfile)
  2. Check if already configured

    • Search for <Agentation or import { Agentation } in src/ or app/
    • If found, report that Agentation is already set up and exit
  3. Detect project type

    • Next.js App Router: has app/layout.tsx or app/layout.js
    • Next.js Pages Router: has pages/_app.tsx or pages/_app.js
    • Vite + React: has vite.config.ts/js and src/main.tsx/jsx
    • Create React App: has src/index.tsx/jsx or src/App.tsx/jsx
    • Other React projects: look for main entry file
  4. Add the component

    For Next.js App Router, add to app/layout.tsx:

    import { Agentation } from "agentation";
    
    export default function RootLayout({ children }) {
      return (
        <html>
          <body>
            {children}
            {process.env.NODE_ENV === "development" && <Agentation />}
          </body>
        </html>
      );
    }

    For Next.js Pages Router, add to pages/_app.tsx:

    import { Agentation } from "agentation";
    
    export default function App({ Component, pageProps }) {
      return (
        <>
          <Component {...pageProps} />
          {process.env.NODE_ENV === "development" && <Agentation />}
        </>
      );
    }

    For Vite + React, add to src/main.tsx:

    import { Agentation } from "agentation";
    
    ReactDOM.createRoot(document.getElementById('root')!).render(
      <React.StrictMode>
        <App />
        {import.meta.env.DEV && <Agentation />}
      </React.StrictMode>
    );

    For Create React App, add to src/index.tsx:

    import { Agentation } from "agentation";
    
    const root = ReactDOM.createRoot(document.getElementById('root'));
    root.render(
      <React.StrictMode>
        <App />
        {process.env.NODE_ENV === "development" && <Agentation />}
      </React.StrictMode>
    );

    For other React projects, add to the root component or main entry file:

    import { Agentation } from "agentation";
    
    // Add at the end of your root component
    {process.env.NODE_ENV === "development" && <Agentation />}
  5. Confirm setup

    • Tell the user to run their dev server and look for the Agentation toolbar (floating button in bottom-right corner)
    • The toolbar should appear in the bottom-right corner of the page

Notes

  • The environment check ensures Agentation only loads in development
  • For Vite projects, use import.meta.env.DEV instead of process.env.NODE_ENV
  • For Next.js, use process.env.NODE_ENV === "development"
  • No additional configuration needed — it works out of the box
  • Compatible with any React 18+ project

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts8mo4 checks · Risk SAFE
  • Gen Agent Trust Hub8mo

    The skill facilitates the installation and configuration of the 'agentation' React component, which provides a visual feedback toolbar for development environments. It identifies the project type and inserts the necessary component code into the appropriate layout files.

  • Socket8mo

    No alerts

  • Snyk8mo

    Risk: LOW · No issues

  • Runlayer8mo

    1 file scanned · No issues

Signed by skilld at 44a4bdf. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Dormantupdated 10 months ago

README badge

README badge for bamzc/claude-skills-frontend/agentation