deep-x-research

deep-x-research is a skill for Claude Code, Codex from nicobailon/surf-cli. It costs 76 tokens per session (1,309 once invoked), scanned A, original, MIT.

A research workflow for investigating a topic across X, the social network formerly called Twitter, by using Grok, its built-in AI research tool. It gathers findings from multiple angles and links each claim to the post where it came from.

In plain words
What is it for?
Use it for broad research on tools, techniques, trends, creators, tutorials, examples, and community discussions found on X.
Why use it?
It reduces the effort of searching many X posts while preserving traceable sources for the results.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/nicobailon/surf-cli/deep-x-research
Any agent
npx skills add nicobailon/surf-cli --skill deep-x-research
Clone the repo
git clone --depth 1 https://github.com/nicobailon/surf-cli

Made for: Claude Code, Codex.

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 deep-x-research

README.md
[![agentmods](https://agentmods.dev/badge/skills/nicobailon/surf-cli/deep-x-research.svg)](https://agentmods.dev/skills/nicobailon/surf-cli/deep-x-research)
Your own site
<a href="https://agentmods.dev/skills/nicobailon/surf-cli/deep-x-research"><img src="https://agentmods.dev/badge/skills/nicobailon/surf-cli/deep-x-research.svg" alt="Measured on agentmods" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,309 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00076 $0.01309
Opus 5 $0.00038 $0.00655
Sonnet 5 $0.00015 $0.00262
Haiku 4.5 $0.00008 $0.00131

Measured 6d ago against content hash 568ae39f6925, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

deep-x-research scanned grade A with 0 findings 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 6d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/deep-x-research/SKILL.md · 107 lines

How it starts

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

Deep X Research

Research a topic across X by putting Grok to work from multiple angles — it runs keyword and semantic X searches and watches videos natively — then deliver categorized findings where every claim is traceable to a post URL.

Requires: surf installed and connected (surf doctor), Chrome logged into x.com. Command reference: the surf skill or surf --help.

Quota: X caps Grok requests (typically 15 per 20 hours on a standard plan). Every surf grok call spends one. Budget the session before the first query and make each query do multi-angle work — never spend a request on what a quota-free step can answer.

Steps

1. Decompose the topic and budget the queries

Break the topic into angles: showcases/examples, techniques & tutorials, tools, notable creators, community discussion — adapt to the topic. Plan a Grok budget of 4-8 queries covering every angle (combine related angles into one query rather than spending two). Done when each angle is assigned to a budgeted query.

2. Grok sweep

Run the budgeted queries sequentially. Engineer each so Grok does the fan-out internally and returns traceable sources:

# Broad pass — force multi-angle search and URLs
surf grok "Do deep research on TOPIC on X. Search both latest and top posts, keyword and semantic. Return the most relevant posts with full post URLs (x.com/user/status/ID) and a one-line description of each."

# Focused passes — one per remaining angle group
surf grok "TOPIC on X: tutorials, techniques, and the tools people use. Include post URLs for every example."

# Deepest pass — spend DeepSearch on the highest-value angle
surf grok "TOPIC: notable creators, how the trend is evolving, and the standout posts of the last 6 months. Post URLs required." --deep-search

Record every post Grok cites: author, one-line gist, full https://x.com/USER/status/ID URL. If a response gives claims without URLs, the next query in the budget re-asks for sources — never leave an angle sourceless. Done when every planned angle has been queried and the final response adds no new relevant posts, or the budget is spent.

Read the full file on GitHub · 107 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. 6d ago First seen · 107 lines · 76 tokens per session scan A 568ae39f6925

Subscribe to this mod's changes

deep-x-research is a skill published in the GitHub repository nicobailon/surf-cli (609 stars, last pushed yesterday), licensed MIT. It adds 76 tokens to every session and 1,309 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

build-plugin

Complete plugin development workflow: build, test, icon, troubleshoot, and setup. Use when the user wants to build a plugin, create a plugin, troubleshoot issues, add icons, or install/configure plugins. Triggers on: build plugin, create plugin, develop plugin, new plugin, plugin icon, troubleshoot, debug, setup…

opentabs-dev/opentabs · 74 tokens

bump-version

Bump package versions across all platform packages and plugins in lockstep. Use when the user wants to bump versions, update versions, or prepare a release. Triggers on: bump version, bump versions, version bump, update version, prepare release.

opentabs-dev/opentabs · 54 tokens

ralph

Plan work and generate ralph task files for autonomous execution. Use when the user wants to plan tasks, create a prd, run ralph, or fix a batch of issues. Triggers on: ralph, create tasks, plan this, run ralph, prd.

opentabs-dev/opentabs · 60 tokens

devloop

Drive Devloop — browser + dev-server on one correlated timeline (web, plus native iOS/Android Expo apps) — by calling its MCP tools as shell commands via mcporter. Use when Devloop's MCP server isn't wired into this agent directly (e.g. a sandboxed or enterprise setup that blocks MCP) but you can run shell commands.

vincentvella/devloop · 74 tokens

release

Cut a new devloop release — bump the version across all files, update the changelog, commit, tag, and trigger the publish workflow. Use when asked to "cut a release", "ship a version", or "publish a new version" of devloop-mcp.

vincentvella/devloop · 58 tokens

site-audit

Use when user asks to audit a website, review all pages, check for broken links, capture full site state, or do a comprehensive product review.

brennhill/Kaboom-Browser-AI-Devtools-MCP · 34 tokens