Agent skill

Inspect Elements

by bitsocialnet in bitsocialnet/5chan

Map a visible 5chan DOM node to its React source when file or component attribution is needed.

GPL-3.0Auto-check passed

Install Inspect Elements

skills CLI
$ npx skills add bitsocialnet/5chan --skill inspect-elements -a claude-code

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

GitHub CLI
$ gh skill install bitsocialnet/5chan inspect-elements --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/bitsocialnet/5chan.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/inspect-elements .claude/skills/inspect-elements && 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
inspect-elements
GitHub stars
134
Token cost
~727 tokens
SKILL.md length
357 words
Files
2
Skills in repo
12
Repo updated
First seen
Licence
GPL-3.0

At a glance

Map a visible 5chan DOM node to its React source when file or component attribution is needed.

  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Inspect Elements is an agent skill from bitsocialnet/5chan. Map a visible 5chan DOM node to its React source when file or component attribution is needed.

Its SKILL.md is about 730 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It works with React. The repository describes itself as: A peer-to-peer 4chan alternative. The licence is GPL-3.0.

Example prompts

  • “/inspect-elements”

What it can do on your machine

Read from SKILL.md and the folder at commit a31f565. 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 bash).

    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

Inspect Elements loads about 727 tokens when it runs. Until then it costs about 28 tokens; SKILL.md has 357 words of instructions outside code blocks.

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

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 bitsocialnet/5chan at commit a31f565, republished under its GPL-3.0 licence (© bitsocialnet). 357 words, ~727 tokens.

Download SKILL.mdSave it as .claude/skills/inspect-elements/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
inspect-elements
description
Map a visible 5chan DOM node to its React source when file or component attribution is needed.

Inspect Elements

For human visual feedback, the development build includes Agentation. Activate its toolbar, select elements, add notes, and copy the resulting selectors and context into the task. Inspect the referenced code before changing it. The toolbar is suppressed when window.__PROFILING__ is set before navigation and is absent from production builds.

Map the requested live DOM node to source using the dev-only window.__ELEMENT_SOURCE__ helper. Use an existing compatible dev server in this worktree or record ownership of one started for the task; production does not expose the helper.

Reuse a compatible session supplied by the calling task when it already owns the browser slot; use its exact name and leave its lifecycle with that caller. Otherwise open an owned session through ./scripts/pw-session.sh. Use -s=<session> on every command. The examples use inspect; substitute the actual name and URL, and skip open when reusing a session:

bash
./scripts/pw-session.sh open inspect https://5chan.localhost/#/all
playwright-cli -s=inspect eval "window.__ELEMENT_SOURCE__?.ready ?? false"
playwright-cli -s=inspect snapshot
playwright-cli -s=inspect eval "async el => JSON.stringify(await window.__ELEMENT_SOURCE__.resolve(el))" e7

Choose e7 from the current snapshot; do not reuse a stale ref. If the helper is not ready, check window.__ELEMENT_SOURCE__?.error and allow its dev import to complete. Report persistent errors or missing helpers instead of guessing an attribution.

The result's source, componentName, and stack identify the node's file/line and React ownership. Inspect the source before editing; an attributed file is a starting point, not proof that it causes the reported behavior. For a compact trace, use window.__ELEMENT_SOURCE__.formatStack(info.stack, 5) on a resolved result.

Show full SKILL.md (131 more words)Show less

When a snapshot ref is impractical, use resolveBySelector(selector) for a precise selector or resolveAtPoint(x, y) for viewport coordinates. If source is null, inspect useful stack frames or a nearby parent. Report an unresolved node when both are empty.

Close the exact session in cleanup only when this inspection opened it, including on resolution failure. Leave a caller-owned session open for the caller to continue and close:

bash
./scripts/pw-session.sh close inspect

For a new session, a slot owned by another task is a reason to wait or use the wrapper's bounded wait, never to bypass the lock. Do not wait on the calling task's own session; reuse it as described above. Stop only a server this task started. Use the playwright-cli skill for session operations and profile-browsing only when performance measurement is part of the request.

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

Files

SKILL.md and 1 other file in .agents/skills/inspect-elements of bitsocialnet/5chan.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit a31f565

Compare with similar skills

Inspect Elements 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.

Inspect Elements compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Inspect Elements this skillbitsocialnet/5chan134—~727Automated safety check: PassGPL-3.0
Web Artifacts Builderanthropics/skills180k40 repos~769Automated safety check: PassApache-2.0
React Doctormakeplane/plane60k12 repos~657Automated safety check: PassAGPL-3.0
React Composition Patternsvercel-labs/openreview1.7k58 repos~721Automated safety check: PassMIT
React Router Developmentremix-run/react-router57k1 repos~1.5kAutomated safety check: PassMIT
Electron Multi-Process ArchitectureiOfficeAI/AionUi33k1 repos~1.8kAutomated safety check: PassApache-2.0

Similar skills

  • Web Artifacts Builder

    anthropics/skills

    Official

    Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.

    180k GitHub starsUsed in 40 repos~769 tokens
    Frontend & DesignAuto-check passed
  • React Doctor

    makeplane/plane

    Scans React code for lint, accessibility, bundle size and architecture issues, reports a health score and checks that changes do not lower it.

    60k GitHub starsUsed in 12 repos~657 tokens
    Frontend & DesignAuto-check passed
  • React Composition Patterns

    vercel-labs/openreview

    Official

    Rules for structuring React components with composition instead of boolean props, covering compound components, lifted state, variants and React 19 changes.

    1.7k GitHub starsUsed in 58 repos~721 tokens
    Frontend & DesignAuto-check passed
  • React Router Development

    remix-run/react-router

    Guides work on React Router apps by first identifying whether the app uses Framework, Data or Declarative mode, then loading the matching reference and the installed package docs.

    57k GitHub starsUsed in 1 repo~1.5k tokens
    Frontend & DesignAuto-check passed
  • Tells the agent where new code belongs in an Electron multi-process project and which APIs each process may use, with rules for new bridges, services, agents and workers.

    33k GitHub starsUsed in 1 repo~1.8k tokens
    DevelopmentAuto-check passed
  • Stitch to Remotion Walkthrough Videos

    google-labs-code/stitch-skills

    Official

    Builds walkthrough videos from Stitch design projects using Remotion, with transitions, zoom effects and text overlays on each screen.

    8.4k GitHub starsUsed in 6 repos~3.2k tokens
    Media & CreativeAuto-check: notes

More from bitsocialnet/5chan

All 12 skills in this repo
  • Playwright CLI

    bitsocialnet/5chan

    Verify browser behavior or reproduce a web UI issue with the installed Playwright CLI.

    134 GitHub stars~1.1k tokensUpdated today
    Auto-check: notes
  • Translate

    bitsocialnet/5chan

    Add, update, or remove 5chan i18next translations when locale changes are requested.

    134 GitHub stars~692 tokensUpdated today
    Auto-check: notes
  • Review React effects and memoization when the user requests an effect audit or a change has unclear synchronization needs.

    134 GitHub stars~474 tokensUpdated today
    Auto-check passed
  • Debug Agent

    bitsocialnet/5chan

    Investigate a reported bug using source, tests, or runtime evidence to establish its cause.

    134 GitHub stars~663 tokensUpdated today
    Auto-check passed
  • Profile Browsing

    bitsocialnet/5chan

    Measure 5chan loading, navigation, interaction timing, and committed React updates using repeatable scenarios.

    134 GitHub stars~507 tokensUpdated today
    Auto-check passed
  • Retro

    bitsocialnet/5chan

    Review a coding session, bug fix, or substantive review correction for evidence-backed ways to prevent recurrence, using existing checks and focused guidance.

    134 GitHub stars~865 tokensUpdated today
    Auto-check passed

Works with

Questions about Inspect Elements

What does Inspect Elements do?

Map a visible 5chan DOM node to its React source when file or component attribution is needed. Inspect Elements is an agent skill from bitsocialnet/5chan. Map a visible 5chan DOM node to its React source when file or component attribution is needed.

How do I install Inspect Elements in Claude Code?

Run `npx skills add bitsocialnet/5chan --skill inspect-elements -a claude-code`. Or copy the skill folder (.agents/skills/inspect-elements in bitsocialnet/5chan) into .claude/skills/inspect-elements in your project. Claude Code loads it when a task matches its description.

How do I install Inspect Elements in Codex?

Run `npx skills add bitsocialnet/5chan --skill inspect-elements -a codex`. Or copy the skill folder (.agents/skills/inspect-elements in bitsocialnet/5chan) into .agents/skills/inspect-elements in your project. Codex loads it when a task matches its description.

Can I use Inspect Elements 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 bitsocialnet/5chan --skill inspect-elements -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/inspect-elements, .gemini/skills/inspect-elements, .github/skills/inspect-elements and .opencode/skills/inspect-elements in your project.

What does Inspect Elements need to run?

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

Does Inspect Elements 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 Inspect Elements 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 Inspect Elements use?

Inspect Elements is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Inspect Elements use?

About 727 tokens (SKILL.md is roughly 2.9k 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 Inspect Elements?

Skills that share tags, products or a category with Inspect Elements: Web Artifacts Builder (anthropics/skills, 180k stars), React Doctor (makeplane/plane, 60k stars), React Composition Patterns (vercel-labs/openreview, 1.7k stars) and React Router Development (remix-run/react-router, 57k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Inspect Elements?

bitsocialnet (a GitHub organization) maintains it in bitsocialnet/5chan, which has 134 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 6, 2026.

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