Official agent skill

Send Private Method

by Shopify in Shopify/rubydex

Remediate a send/send call that reaches a private method, restoring a real public seam instead of bypassing visibility.

OfficialCustom licenceAuto-check passed

Install Send Private Method

skills CLI
$ npx skills add Shopify/rubydex --skill send-private-method -a claude-code

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

GitHub CLI
$ gh skill install Shopify/rubydex send-private-method --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/Shopify/rubydex.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/send-private-method .claude/skills/send-private-method && 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
send-private-method
GitHub stars
363
Token cost
~1.8k tokens
SKILL.md length
924 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
Custom licence

At a glance

Remediate a send/send call that reaches a private method, restoring a real public seam instead of bypassing visibility.

  • Works in 3 steps: Promote to public (or protected) → Drive the public entry point, assert on… → Extract to its own object/module
  • Send is being used to invoke private functionality in a class
  • SKILL.md covers Confirm the receiver and the…, Decide which situation you are…, Fix per situation and Private class methods and…, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Send Private Method is an agent skill from Shopify/rubydex, published by the product's own GitHub organization. Remediate a send/send call that reaches a private method, restoring a real public seam instead of bypassing visibility. Use when send is being used to invoke private functionality in a class.

Its SKILL.md is about 1.8k 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 Ruby. The repository describes itself as: A high-performance static analysis toolkit for Ruby.

When your agent uses it

  • Send is being used to invoke private functionality in a class

Example prompts

  • “/send-private-method”

Workflow steps

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

  1. Promote to public (or protected)
  2. Drive the public entry point, assert on the observable outcome
  3. Extract to its own object/module

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are ruby).

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

  • Network

    No URLs in SKILL.md.

    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

Send Private Method loads about 1.8k tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 924 words of instructions outside code blocks.

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

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 passed

The automated check found no risky patterns in SKILL.md.

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 924 words (~1,848 tokens).

“A test calls obj.send(:some_private_method) (or send) to invoke a method Ruby's visibility system would otherwise forbid. send deliberately bypasses encapsulation. send behaves identically and is the conventional spelling when a class defines its own send; Ruby warns when you redefine…”

— opening of SKILL.md by Shopify, Custom licence
name
send-private-method

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/send-private-method of Shopify/rubydex.

Open the folder on GitHubat commit d8ff475

Compare with similar skills

Send Private Method 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.

Send Private Method compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Send Private Method this skillShopify/rubydex363—~1.8kAutomated safety check: PassCustom licence
Gumroad Prod Consoleantiwork/gumroad9.8k—~2.9kAutomated safety check: NotesMIT
Fastlane Pull Request Reviewfastlane/fastlane42k—~550Automated safety check: PassMIT
Antipattern Preventiondoorkeeper-gem/doorkeeper5.5k—~1.1kAutomated safety check: PassMIT
Mutantmbj/mutant2.2k—~2kAutomated safety check: PassProprietary
Evaluating Pegslineofflight/frankfurter2k—~1.6kAutomated safety check: PassMIT

Similar skills

  • Gumroad Prod Console

    antiwork/gumroad

    Execute read-only Ruby/Rails commands against Gumroad's production database for debugging and investigation.

    9.8k GitHub stars~2.9k tokensUpdated today
    DevelopmentAuto-check: notes
  • Reviews a fastlane pull request against its linked issue and the project guides, separating blocking from non-blocking findings and handling vulnerabilities privately.

    42k GitHub stars~550 tokensUpdated today
    DevelopmentAuto-check passed
  • Antipattern Prevention

    doorkeeper-gem/doorkeeper

    Avoid common Ruby and Rails antipatterns that degrade maintainability and performance.

    5.5k GitHub stars~1.1k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Mutant

    mbj/mutant

    Run mutant, read mutation reports, fix alive mutations, and verify coverage.

    2.2k GitHub stars~2k tokensUpdated 4 days ago
    Testing & QAAuto-check passed
  • Evaluating Pegs

    lineofflight/frankfurter

    A skill your agent uses when adding, evaluating, or removing an entry in db/seeds/pegs/, when the user mentions a pegged or fixed currency, or when an issue suggests we should "pin" or "lock" a…

    2k GitHub stars~1.6k tokensUpdated 5 days ago
    Auto-check passed
  • Swig CI Repro

    swig/swig

    Reproduce a GitHub Actions Linux CI failure locally when it does not happen on your machine: a podman/docker image that mirrors the ubuntu-22.04 runner by reusing the real Tools/CI-linux-.sh install…

    6.3k GitHub stars~1.2k tokensUpdated today
    DevOps & CloudAuto-check passed

More from Shopify/rubydex

  • Profiling

    Shopify/rubydex

    Official

    Profile Rubydex indexer performance — CPU flamegraphs, memory usage, phase-level timing.

    363 GitHub stars~2.3k tokensUpdated 5 days ago
    Auto-check: notes
  • Rubydex MCP Benchmark

    Shopify/rubydex

    Official

    A skill your agent uses when benchmarking rubydex MCP against plain Grep/Glob for Ruby code tasks.

    363 GitHub stars~1k tokensUpdated 5 days ago
    Auto-check passed
  • Benchmark Rbs

    Shopify/rubydex

    Official

    Benchmark Rubydex indexing performance on RBS core/stdlib, comparing the current branch against main.

    363 GitHub stars~723 tokensUpdated 5 days ago
    Auto-check passed

Works with

Questions about Send Private Method

What does Send Private Method do?

Remediate a send/send call that reaches a private method, restoring a real public seam instead of bypassing visibility. Send Private Method is an agent skill from Shopify/rubydex, published by the product's own GitHub organization. Remediate a send/send call that reaches a private method, restoring a real public seam instead of bypassing visibility.

When should I use Send Private Method?

Send Private Method fits situations like: send is being used to invoke private functionality in a class.

How do I install Send Private Method in Claude Code?

Run `npx skills add Shopify/rubydex --skill send-private-method -a claude-code`. Or copy the skill folder (skills/send-private-method in Shopify/rubydex) into .claude/skills/send-private-method in your project. Claude Code loads it when a task matches its description.

How do I install Send Private Method in Codex?

Run `npx skills add Shopify/rubydex --skill send-private-method -a codex`. Or copy the skill folder (skills/send-private-method in Shopify/rubydex) into .agents/skills/send-private-method in your project. Codex loads it when a task matches its description.

Can I use Send Private Method 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 Shopify/rubydex --skill send-private-method -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/send-private-method, .gemini/skills/send-private-method, .github/skills/send-private-method and .opencode/skills/send-private-method in your project.

What does Send Private Method need to run?

SKILL.md names no scripts, command-line tools or credentials: Send Private Method is instructions for the agent only.

Does Send Private Method access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Send Private Method safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Send Private Method use?

Send Private Method has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Send Private Method use?

About 1.8k tokens (SKILL.md is roughly 7.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 Send Private Method?

Skills that share tags, products or a category with Send Private Method: Gumroad Prod Console (antiwork/gumroad, 9.8k stars), Fastlane Pull Request Review (fastlane/fastlane, 42k stars), Antipattern Prevention (doorkeeper-gem/doorkeeper, 5.5k stars) and Mutant (mbj/mutant, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Send Private Method?

Shopify (a GitHub organization, an official publisher) maintains it in Shopify/rubydex, which has 363 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 1, 2026.

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