Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Add Provider

ASecurity

Add a new agent CLI start provider in threadbase-mobile (browse chips, health parser, badges, filters, i18n). Use when adding Cursor, Codex, Gemini, Amp, Aider, OpenCode, Goose, ClawCode, Hermes, cursor, start chips, provider badges, or when the user says add a provider. Live PTY and history indexing are other repos — see Companions.

4 stars
0 votes
0 copies
0 views
Added 9/20/2026
developmentgobashsqlnodegitapi

Works with

cursorterminalcliapi

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add RonenMars/threadbase-mobile --skill add-provider --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Add Provider?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Add Provider
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ronenmars-add-provider/badge)](https://www.skillsdirectory.com/skills/ronenmars-add-provider)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: add-provider
description: Add a new agent CLI start provider in threadbase-mobile (browse chips, health parser, badges, filters, i18n). Use when adding Cursor, Codex, Gemini, Amp, Aider, OpenCode, Goose, ClawCode, Hermes, cursor, start chips, provider badges, or when the user says add a provider. Live PTY and history indexing are other repos — see Companions.
---

# Add a provider (mobile)

This repo is the **phone chips** half. Without it, a streamer that accepts the new `provider` is unused: browse will not send that name.

Scanner, streamer, and mobile each declare `ProviderName`. They are not linked. Use the **same kebab wire name** as the streamer (`aider`, `opencode`, `goose`, `cursor`, …). Product label is separate (`Aider`, `OpenCode`). `cursor-cli` is a legacy alias for `cursor`.

## Companions

| Half | Repo | Skill |
|---|---|---|
| Live PTY | [`threadbase-streamer`](https://github.com/RonenMars/threadbase-streamer) | [`.claude/skills/add-provider/SKILL.md`](https://github.com/RonenMars/threadbase-streamer/blob/HEAD/.claude/skills/add-provider/SKILL.md) |
| Phone chips | `threadbase-mobile` (this repo) | `.claude/skills/add-provider/` |
| History index | [`threadbase-scanner`](https://github.com/RonenMars/threadbase-scanner) | [`.claude/skills/add-provider/SKILL.md`](https://github.com/RonenMars/threadbase-scanner/blob/HEAD/.claude/skills/add-provider/SKILL.md) |

**Keep companions in sync.** These three skills are one workflow. Changing this file (intake rules, wire-name convention, land order, companion links, or out-of-scope) means updating the other two in the same change set — PRs in `threadbase-streamer`, `threadbase-mobile`, and `threadbase-scanner`. Do not leave a companion on stale steps or a moved path.

Mobile-only against an old streamer fail-opens the chip and then 501s on start. **Merge the streamer PR first** unless this is a badge-only name that history already returns.

Work on a **sibling worktree** from `origin/main` (`git worktree add ../tb-mobile-worktrees/<slug> -b feat/<slug> origin/main`). Never nest under the repo root. After `worktree add`, `move_agent_to_root`. No `node_modules` in a fresh worktree: symlink from the main checkout when lockfiles match, else `npm ci`.

## 0. Vendor intake

| Ask | This repo |
|---|---|
| Streamer already has the wire name in `PROVIDER_NAMES`? | If live start is in scope, wait or land streamer first. |
| History-only (no CLI, SQLite store, editor chat)? | Still add the name to badges/filters/health if the scanner will emit it. **No** browse start chip until a runner exists. |
| Fourth+ start chip? | Keep the chip. Wrap the selector (`flexWrap`) rather than hiding providers. Do not collapse into a menu unless the user asked. |

Grep the **current** two-way unions, not only `codex-cli`. After Cursor, leftovers look like `'claude-code' \| 'codex-cli' \| 'cursor'` and `=== 'cursor' ? … : Claude`. Also accept the legacy alias `cursor-cli`.

## Iron rules

1. **Never default unknown names to Claude.** Use `providerLabelKey` (extend its return union). Not `=== 'codex-cli' ? Codex : Claude`.
2. **Parser allowlists drop unknown names.** `types/provider-health.ts` `NAMES` must include the id or `/api/providers` is ignored.
3. **Send `provider` for any non-Claude** start. Do not special-case one extra name.
4. **Do not invent terminal chrome filters** until the TUI is captured.
5. Semantic state; `t('sessions:provider.<label>')` at the presentation boundary. No `labelKey` in data.

## 1. Name + label helper

`constants/providers.ts`: constant, `PROVIDER_NAMES`, `isProviderName`, `providerLabelKey`.

## 2. Health parser

`types/provider-health.ts` `NAMES`. Unknown names are **dropped**, not shown as unavailable.

## 3. Start path

Only if live start is in scope:

- `app/browse.tsx`: skeleton `PROVIDER_NAMES`; nth chip; `params.set('provider', …)` for **any non-Claude**.
- `app/session/new.tsx`: POST `provider` when `isProviderName` and not Claude.

A start chip for a history-only agent is a lie — omit it.

## 4. Chrome

Replace remaining hardcoded provider unions with `ProviderName` / `providerLabelKey`:

- `app/index.tsx`, `app/session/[id].tsx`, `app/conversation/[id].tsx`
- `components/servers/FilterSortSheet.tsx` (filter chips wrap; do not cap at three)
- `components/sessions/shared/ConversationListItem.tsx`
- `components/sessions/tree/types.ts`, `hooks/useConversations.ts`, `types/projectChat.ts`
- `services/api-client.ts` `ConversationBusyError` — `isProviderName`
- `app/server-health.tsx` `provider:<wire-name>`
- `lib/modelEffortSupport.ts` — effort is Claude-only unless the streamer emits `effort` for this CLI

`constants/theme.ts` `brand.<key>`: distinct from Claude `#E8622A`, Codex `#7B5EA7`, Cursor `#3D8BFF`.

Story coverage **warns** on modified `components/**/*.tsx`; skip new stories for a small badge/filter edit.

## 5. i18n

- `locales/{en,he,ar,ru}/sessions.json` → `provider.<label>`
- `locales/{en,he,ar,ru}/servers.json` → `health.checks.provider<Product>`
- `locales/.identical-ok.json` for product names that stay English
- `npm run i18n:bless`

## 6. Mock + tests

`e2e/mock-server.js` `GET /api/providers`: honest capabilities (copy streamer). History-only names can be absent from that stub.

Extend `browse-provider-flow`, `BrowseRecents`, `BrowseDisabledOnError`, `provider-health`, `modelEffortSupport`, `constants/providers`.

Empty-list copy can stay unless the user wants the new product named.

## 7. Verify

```bash
npx tsc --noEmit
npx jest --ci --runInBand --testPathPattern 'browse-provider-flow|BrowseRecents|BrowseDisabledOnError|provider-health|modelEffortSupport|constants/providers'
```

## Out of scope here

Live PTY — [streamer skill](https://github.com/RonenMars/threadbase-streamer/blob/HEAD/.claude/skills/add-provider/SKILL.md). History — [scanner skill](https://github.com/RonenMars/threadbase-scanner/blob/HEAD/.claude/skills/add-provider/SKILL.md). Installing the host CLI.

Worked example: `cursor` chips in PR #1055 (shipped as `cursor-cli`; wire name is now `cursor`). History indexing is scanner + streamer (`cursorRoots`); this repo does not parse transcripts. List items carry `isImportedFromClaude` / `isImportedFromCodex` / `isImportedFromCursor`; `ConversationFilter` can send `include` and those flags on list/count.

Attribution

RonenMarsRonenMars
View sourceMore from RonenMars →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

281612 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2132 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →