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.
npx agentmods add skills/andresquirogadev/skillsense/rubynpx skills add andresquirogadev/skillsense --skill rubygit clone --depth 1 https://github.com/andresquirogadev/skillsenseWrote 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.
[](https://agentmods.dev/skills/andresquirogadev/skillsense/ruby)<a href="https://agentmods.dev/skills/andresquirogadev/skillsense/ruby"><img src="https://agentmods.dev/badge/skills/andresquirogadev/skillsense/ruby.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.00855 |
| Opus 5 | $0.00000 | $0.00428 |
| Sonnet 5 | $0.00000 | $0.00171 |
| Haiku 4.5 | $0.00000 | $0.00085 |
Grade A, and why
ruby 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ruby
Expert Ruby development with modern idioms, performance patterns, and testing best practices.
Language & Style
- Use
frozen_string_literal: trueat the top of every file to reduce object allocations - Prefer
symbol.to_procfor simple enumerables:users.map(&:name)overusers.map { |u| u.name } - Use keyword arguments for methods with 2+ optional params; avoids positional confusion
- Avoid
rescue Exception— rescueStandardErroror specific subclasses only - Use
Struct.new(:a, :b, keyword_init: true)for lightweight value objects - Prefer
then/yield_selffor pipeline-style transformations over deep nesting
Memory & Performance
- Use
lazyenumerators for large collections:(1..Float::INFINITY).lazy.select { ... }.first(10) - Avoid creating unnecessary strings in loops; use symbols where semantics allow
- Use
frozen_string_literalandString#duponly when mutation is needed - Profile with
ruby-proforstackprofbefore optimizing; don't guess
Testing with RSpec
# Describe behavior, not implementation
RSpec.describe Order do
describe '#total' do
subject(:order) { described_class.new(items: [item]) }
let(:item) { build(:item, price: 9.99) }
it 'sums item prices' do
expect(order.total).to eq(9.99)
end
end
end
- Use
letfor lazy setup,let!only when the side effect is required before the example - Prefer
described_classover hardcoding the class name - Use FactoryBot factories for complex models; avoid fixtures
- Use
aggregate_failuresto report all failures in one example rather than stopping at first
Sidekiq (Background Jobs)
class EmailWorker
include Sidekiq::Job
sidekiq_options retry: 3, queue: :mailers
def perform(user_id)
user = User.find(user_id)
UserMailer.welcome(user).deliver_now
end
end
# Enqueue
EmailWorker.perform_async(user.id)
EmailWorker.perform_in(5.minutes, user.id)
- Always pass serializable primitives (IDs, strings) — never pass ActiveRecord objects
- Set explicit retry counts per job; rely on exponential backoff for transient failures
- Use
Sidekiq::Testing.fake!in tests; assertions viaEmailWorker.jobs.size
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.
- 3d ago First seen · 106 lines · 0 tokens per session scan A 354d7a3d3e8b
ruby is a skill published in the GitHub repository andresquirogadev/skillsense (2 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 855 tokens. 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-31.
Other skills, from other repositories
paseo-plugin
Build and manage trusted local Paseo plugins. Use when the user asks to create, edit, install, reload, enable, disable, remove, or troubleshoot a Paseo plugin; add a native surface, sidebar item, or workspace panel; add Command Center items or slash commands; add composer pills or attachment sources; transform…
paseo
Paseo reference for managing projects, workspaces, workspace scripts, agents, schedules, and heartbeats.
paseo-help
Answer questions about the Paseo product and app, including setup, configuration, connectivity, providers, workspaces, updates, logs, and troubleshooting. Use when a user inside Paseo asks how Paseo works, how to configure it, or why something is broken; use the paseo skill instead to operate agents and workspaces…
paseo-advisor
Spin up a single agent as an advisor — second opinion on the current task. Use when the user says "advisor", "second opinion", "what does X think", or wants an outside take without delegating the work itself.
paseo-handoff
Hand off the current task to another agent with full context. Use when the user says "handoff", "hand off", "hand this to", or wants to pass work to another agent.
paseo-committee
Form a committee of two high-reasoning agents to step back, do root cause analysis, and produce a plan. Use when stuck, looping, tunnel-visioning, or facing a hard planning problem.