Agent skill

Contrib Search

by palantirnet in palantirnet/drupal-rector

Search real Drupal contrib code for a pattern (deprecated method/function/constant/property) via the api.tresbien.tech JSON index.

No licenceAuto-check: notes

Install Contrib Search

skills CLI
$ npx skills add palantirnet/drupal-rector --skill contrib-search -a claude-code

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

GitHub CLI
$ gh skill install palantirnet/drupal-rector contrib-search --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/palantirnet/drupal-rector.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/contrib-search .claude/skills/contrib-search && 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
contrib-search
GitHub stars
161
Token cost
~1.4k tokens
SKILL.md length
521 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
None found

At a glance

Search real Drupal contrib code for a pattern (deprecated method/function/constant/property) via the api.tresbien.tech JSON index.

  • Works in 4 steps: Resolve the pattern → Search the index → Report — quick mode (default) → …
  • SKILL.md covers Input, 1. Resolve the pattern, 2. Search the index and 3. Report — quick mode (default), plus 1 more section
  • Calls curl, jq and rg; reaches api.tresbien.tech and search.tresbien.tech

What it does

Contrib Search is an agent skill from palantirnet/drupal-rector. Search real Drupal contrib code for a pattern (deprecated method/function/constant/property) via the api.tresbien.tech JSON index. Default quick mode answers "does this occur in real contrib, and how widely?"; full mode additionally filters to D11-compatible modules ranked by install count, ready to live-test. Pass the symbol or a rector class/issue number.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with PHP. The repository describes itself as: A developer utility for automatically upgrading deprecated code for Drupal 9.

Example prompts

  • “does this occur in real contrib, and how widely?”
  • “/contrib-search”

Requirements

  • Pre-approved tools (allowed-tools): Read, Bash, Glob

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Resolve the pattern
  2. Search the index
  3. Report — quick mode (default)
  4. Filter to D11-compatible + rank — full mode (--full)

What it can do on your machine

Read from SKILL.md and the folder at commit 3c58496. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Bash
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl
    • jq
    • rg

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.tresbien.tech
    • search.tresbien.tech

    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

Contrib Search loads about 1.4k tokens when it runs. Until then it costs about 94 tokens; SKILL.md has 521 words of instructions outside code blocks.

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

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Bash, Glob

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 521 words (~1,359 tokens).

“Search the api.tresbien.tech code index for real contrib usages of a pattern. Two exit points:”

— opening of SKILL.md by palantirnet
name
contrib-search
allowed-tools
Read, Bash, Glob
argument-hint
<symbol | RectorClassName | issue-number> [--full]

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/contrib-search of palantirnet/drupal-rector.

Open the folder on GitHubat commit 3c58496

Compare with similar skills

Contrib Search 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.

Contrib Search compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Contrib Search this skillpalantirnet/drupal-rector161—~1.4kAutomated safety check: NotesNone
Configuring Horizoncoollabsio/coolify63k4 repos~898Automated safety check: PassMIT
Tailwindcss Developmentanonaddy/anonaddy4.9k10 repos~865Automated safety check: PassMIT
Fortify Developmentcoollabsio/coolify63k4 repos~1.9kAutomated safety check: PassMIT
MCP Developmentcoollabsio/coolify63k1 repos~949Automated safety check: PassMIT
WooCommerce Code Reviewwoocommerce/woocommerce11k3 repos~1.1kAutomated safety check: PassCustom licence

Similar skills

  • Configuring Horizon

    coollabsio/coolify

    A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.

    63k GitHub starsUsed in 4 repos~898 tokens
    Backend & APIsAuto-check passed
  • Tailwindcss Development

    anonaddy/anonaddy

    Always invoke when the user's message includes 'tailwind' in any form.

    4.9k GitHub starsUsed in 10 repos~865 tokens
    Frontend & DesignAuto-check passed
  • Fortify Development

    coollabsio/coolify

    ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 4 repos~1.9k tokens
    Backend & APIsAuto-check passed
  • MCP Development

    coollabsio/coolify

    A skill your agent uses for Laravel MCP development. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 1 repo~949 tokens
    Frontend & DesignAuto-check passed
  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Sync Translations

    symfony/symfony

    Synchronize translation catalogs across maintained Symfony branches: find messages that newer branches added to the English catalogs but that are still missing from the oldest maintained branch…

    31k GitHub stars~1.9k tokensUpdated yesterday
    Writing & ContentAuto-check passed

More from palantirnet/drupal-rector

  • Rector Discover

    palantirnet/drupal-rector

    Lists unimplemented drupal-digests rules ranked by real contrib impact and classified by implementation phase.

    161 GitHub stars~3.6k tokensUpdated 9 days ago
    Auto-check: notes
  • Rector Implement

    palantirnet/drupal-rector

    Converts a single drupal-digests rule to a drupal-rector-compliant implementation.

    161 GitHub stars~3.3k tokensUpdated 9 days ago
    Auto-check: notes
  • Rector Live Test

    palantirnet/drupal-rector

    Runs a rector against real D11-compatible contrib modules to verify it transforms real-world code correctly, then captures the PHPStan deprecation message it covers.

    161 GitHub stars~2.3k tokensUpdated 9 days ago
    Auto-check: notes
  • Rector QA

    palantirnet/drupal-rector

    Comprehensive quality review of an existing Drupal rector. An agent skill from palantirnet/drupal-rector.

    161 GitHub stars~5k tokensUpdated 9 days ago
    Auto-check: notes

Works with

Questions about Contrib Search

What does Contrib Search do?

Search real Drupal contrib code for a pattern (deprecated method/function/constant/property) via the api.tresbien.tech JSON index. Contrib Search is an agent skill from palantirnet/drupal-rector.tech JSON index.

How do I install Contrib Search in Claude Code?

Run `npx skills add palantirnet/drupal-rector --skill contrib-search -a claude-code`. Or copy the skill folder (.claude/skills/contrib-search in palantirnet/drupal-rector) into .claude/skills/contrib-search in your project. Claude Code loads it when a task matches its description.

How do I install Contrib Search in Codex?

Run `npx skills add palantirnet/drupal-rector --skill contrib-search -a codex`. Or copy the skill folder (.claude/skills/contrib-search in palantirnet/drupal-rector) into .agents/skills/contrib-search in your project. Codex loads it when a task matches its description.

Can I use Contrib Search 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 palantirnet/drupal-rector --skill contrib-search -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/contrib-search, .gemini/skills/contrib-search, .github/skills/contrib-search and .opencode/skills/contrib-search in your project.

What does Contrib Search need to run?

Going by SKILL.md and its folder, Contrib Search needs the command-line tools its instructions call (curl, jq and rg). Its frontmatter pre-approves these tools: Read, Bash, Glob.

Does Contrib Search access the network?

SKILL.md names 2 domains. In commands or code: api.tresbien.tech and search.tresbien.tech; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Contrib Search safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Contrib Search use?

No licence was found for Contrib Search or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Contrib Search use?

About 1.4k tokens (SKILL.md is roughly 5.4k 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 Contrib Search?

Skills that share tags, products or a category with Contrib Search: Configuring Horizon (coollabsio/coolify, 63k stars), Tailwindcss Development (anonaddy/anonaddy, 4.9k stars), Fortify Development (coollabsio/coolify, 63k stars) and MCP Development (coollabsio/coolify, 63k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Contrib Search?

palantirnet (a GitHub organization) maintains it in palantirnet/drupal-rector, which has 161 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 1, 2026.

Source: palantirnet/drupal-rector on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.