Skip to content
Agentmart
Submit a tool

x-search-doctor

Diagnose and refresh the local X Search runtime token.

Skill by ClawRyderz

IndexedMIT★ 1
Write a review

Chalk Labs

Need help deploying x-search-doctor?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/clawryderz-x-search-doctor

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Diagnose and refresh the local X Search runtime token. Use when the normal X Search plugin says the bearer-token file is missing, stale, or invalid.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/x-search-doctor

What's inside

Skill name
x-search-doctor
Description
Diagnose and refresh the local X Search runtime token. Use when the normal X Search plugin says the bearer-token file is missing, stale, or invalid.
License
MIT
Instructions
41 lines in SKILL.md · view on GitHub

Before installing

  • Instructions read files in your home folder (~/.ssh, ~/.aws…)

Files (1)

  • SKILL.md

SKILL.md (first lines)

# X Search Doctor

## Overview

This plugin is the admin and repair side of the local X Search setup.

- It is not for normal X research.
- It is the only plugin that should read 1Password-backed X credential refs.
- It can diagnose auth problems and refresh the runtime bearer-token file used by `x-search`.

## When to use it

Use the X Search Doctor plugin when:

- the runtime `x-search` plugin says the bearer-token file is missing
- the runtime `x-search` plugin says the bearer token was rejected or looks stale
- you rotated X credentials and need to refresh the local runtime token cache
- you need to verify whether vault visibility, bearer refs, or client credentials are broken

## Tool routing

- Use `x_auth_doctor` to diagnose vault visibility, bearer refs, and OAuth client-credentials health without exposing secrets.
- Use `x_refresh_runtime_token` to mint or read a fresh bearer token from admin credential sources, write it to the runtime bearer-token file, and verify it with a small probe query.
- After `x_refresh_runtime_token` succeeds, switch back to the normal `x-search` plugin for day-to-day searches.

## Secret posture

- Do not paste raw X bearer tokens, consumer keys, consumer secrets, or 1Password service-account tokens into chat.
- Keep 1Password refs in the doctor plugin only, not in the runtime plugin.
- Treat `~/plugins/x-search-doctor/config/provider_refs.json` as the admin config surface.
- Treat `~/plugins/x-search/config/provider_refs.json` as the runtime-only config surface.
- Keep vault names, item names, and field references in a private doctor config supplied at installation time or through the documented environment variables.
- The public template uses `~/.config/x-search-mcp/op-service-account-token`; override that path in private configuration when needed.

## Install note

- Run `python3 scripts/install_local_plugin.py --destination ~/plugins/x-search` to install both bundles together.
- The installer creates `~/plugins/x-search` for normal searches and `~/plugins/x-search-doctor` for admin repair work.
- If you want the clean zero-approval posture for normal X searches, disable or remove the older `x-api` plugin entry from Codex after moving to this split setup.

From ClawRyderz/x-search-mcp-plugin, MIT.

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Jul 14, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ClawRyderz

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get x-search-doctor running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying x-search-doctor?

CallGet help
Cite this page

x-search-doctor skill. Agent Mart. https://agentmart.dev/skills/clawryderz-x-search-doctor (last updated 2026-10-24)