TabzChrome: Command for Claude Code

.claude/commands/discover-profiles.md

discover-profiles is a command for Claude Code from GGPrompts/TabzChrome. It costs 15 tokens per session (1,019 once invoked), scanned A, original, MIT.

A command guide for managing TabzChrome terminal profiles through a REST API, a web interface for sending requests to a service. Profiles describe terminal tools with names, commands, categories, and other settings.

In plain words
What is it for?
It is for listing profiles, creating or updating commands, deleting profiles, and bulk-importing profiles in merge mode.
Why use it?
It avoids manually editing profile data when you need to view, add, change, remove, or import several terminal profiles.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

This is GGPrompts/TabzChrome's own configuration. It tells Claude Code how to work on TabzChrome itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything TabzChrome configures →

Reuse

Borrowing it

Nothing to install: this file belongs to GGPrompts/TabzChrome. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/GGPrompts/TabzChrome/main/.claude/commands/discover-profiles.md
Clone the repo
git clone --depth 1 https://github.com/GGPrompts/TabzChrome

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for discover-profiles

README.md
[![agentmods](https://agentmods.dev/badge/commands/ggprompts/tabzchrome/discover-profiles/github.svg)](https://agentmods.dev/commands/ggprompts/tabzchrome/discover-profiles)
Your own site
<a href="https://agentmods.dev/commands/ggprompts/tabzchrome/discover-profiles"><img src="https://agentmods.dev/badge/commands/ggprompts/tabzchrome/discover-profiles/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for discover-profiles

Your own site · 80×15
<a href="https://agentmods.dev/commands/ggprompts/tabzchrome/discover-profiles"><img src="https://agentmods.dev/badge/commands/ggprompts/tabzchrome/discover-profiles.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,019 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.01019
Opus 5 $0.00008 $0.00509
Sonnet 5 $0.00003 $0.00204
Haiku 4.5 $0.00002 $0.00102

Measured 9d ago against content hash 626dae67739d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

discover-profiles scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://localhost:8129/api/browser/profiles | jq
.claude/commands/discover-profiles.md · 112 lines

How it starts

The opening of the file, as written. The whole thing — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Profile Discovery Assistant

Help users view, create, and manage TabzChrome terminal profiles.

Profile API Endpoints

Get all profiles:

curl -s http://localhost:8129/api/browser/profiles | jq

Create a profile:

TOKEN=$(cat /tmp/tabz-auth-token)
curl -X POST http://localhost:8129/api/browser/profiles \
  -H "Content-Type: application/json" \
  -H "X-Auth-Token: $TOKEN" \
  -d '{"profile": {"name": "My Tool", "command": "mytool", "category": "Tools"}}'

Update a profile:

curl -X PUT http://localhost:8129/api/browser/profiles/<profile-id> \
  -H "Content-Type: application/json" \
  -H "X-Auth-Token: $TOKEN" \
  -d '{"name": "New Name", "command": "new-command"}'

Delete a profile:

curl -X DELETE http://localhost:8129/api/browser/profiles/<profile-id> \
  -H "X-Auth-Token: $TOKEN"

Bulk import:

curl -X POST http://localhost:8129/api/browser/profiles/import \
  -H "Content-Type: application/json" \
  -H "X-Auth-Token: $TOKEN" \
  -d '{"profiles": [...], "mode": "merge"}'

Profile Schema

{
  "id": "my-tool-abc123",
  "name": "My Tool",
  "category": "Tools",
  "command": "mytool --flag",
  "workingDir": "",
  "fontSize": 16,
  "fontFamily": "JetBrains Mono, monospace",
  "themeName": "high-contrast",
  "reference": "~/docs/my-tool-guide.md",
  "backgroundMedia": "~/Videos/ambient.mp4",
  "backgroundMediaType": "video",
  "backgroundMediaOpacity": 30
}
Field Required Description
id Auto Unique ID (generated if not provided)
name Yes Display name
category No Grouping category (e.g., "Claude Code", "TUI Tools")
command No Command to run (empty = bash)
workingDir No Starting directory (empty = inherit from header)
fontSize No Font size (default: 16)
fontFamily No Font (default: monospace)
themeName No Theme: high-contrast, dracula, ocean, neon, amber, matrix
reference No Reference URL or file path (shows 📎 paperclip on tab)
pinnedToNewTab No Show on New Tab page (up to 6 pinned profiles)
useDefaultTheme No Inherit theme settings from default profile

Read the full file on GitHub · 112 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 112 lines · 15 tokens per session scan A 626dae67739d

Subscribe to this mod's changes

discover-profiles is a command published in the GitHub repository GGPrompts/TabzChrome (146 stars, last pushed today), licensed MIT. It adds 15 tokens to every session and 1,019 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.