Active Storage Validations is a Ruby gem for adding validation rules to files attached through Rails Active Storage. Rails developers use it to check whether uploaded images, videos, audio files, PDFs, and other attachments meet requirements such as type, size, dimensions, duration, or quantity.
Borrowing it
Nothing to install: this file belongs to igorkasyanchuk/active_storage_validations. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/igorkasyanchuk/active_storage_validations/master/.cursor/skills/commit/SKILL.mdgit clone --depth 1 https://github.com/igorkasyanchuk/active_storage_validationsWrote 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/igorkasyanchuk/active_storage_validations/commit)<a href="https://agentmods.dev/skills/igorkasyanchuk/active_storage_validations/commit"><img src="https://agentmods.dev/badge/skills/igorkasyanchuk/active_storage_validations/commit/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/igorkasyanchuk/active_storage_validations/commit"><img src="https://agentmods.dev/badge/skills/igorkasyanchuk/active_storage_validations/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 23 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.1 | $0.00035 | $0.00486 |
| Opus 5.5 | $0.00014 | $0.00194 |
| Sonnet 5.5 | $0.00007 | $0.00097 |
| Haiku 4.5 | $0.00003 | $0.00049 |
Grade A, and why
commit 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 2mo 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.
What it actually says
Commit
Create a git commit now. Do not ask for confirmation unless there is nothing to commit or secrets are involved.
How the user invokes this
- Slash:
/commitin Agent chat - Invoke with slash
/commitin the current Agent chat (do not start a new chat).- Cursor’s Agent input is a webview: keybindings cannot reliably type/submit into it (
typegoes to the editor instead). No Mac shortcut for auto-send/commituntil Cursor exposes a prompt API that works from keybindings.
- Cursor’s Agent input is a webview: keybindings cannot reliably type/submit into it (
Steps
- In parallel:
git status,git diff(staged + unstaged). Do not rungit logor infer message style from history (see.cursor/rules/git.mdc). - Decide what belongs in this commit from the conversation / current task. Exclude unrelated dirty files (e.g. leftover docs). Never stage secrets (
.env,credentials.json,config/master.key). - Stage the chosen paths with
git add. - Draft the subject from
.cursor/rules/git.mdc(this file only — including the scope glossary):type(scope): imperative description- Types:
feat|fix|docs|style|refactor|test|chore|perf|build|ci - Imperative, lowercase start, ≤ 72 chars, no trailing punctuation
- Commit with HEREDOC (no
--no-verify, no amend, no push, no git config):
git commit -m "$(cat <<'EOF'
type(scope): description
Optional body when the why is not obvious.
EOF
)"
- If a hook fails, fix and create a new commit (do not amend).
- Run
git statusand reply with the short hash + subject only.
Out of scope
- Do not push unless the user explicitly asks in the same turn.
- Do not commit when the worktree has no relevant changes — say so briefly.
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.
- 2mo ago First seen · 48 lines · 35 tokens per session scan A 2c1d293f3de2
commit is a skill published in the GitHub repository igorkasyanchuk/active_storage_validations (1,193 stars, last pushed 5d ago), licensed MIT. It adds 35 tokens to every session and 486 once invoked, about $0.0001 per session on Opus 5.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-09-05.
commit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| commitigorkasyanchuk/active_storage_validations | Skill | 1.2k | 5d ago | MIT | A | 35 | Claude Code, Cursor |
| create-prprisma/orm | Skill | 48k | yesterday | Apache-2.0 | A | 48 | Claude Code, Codex |
| git-commitThinkInAIXYZ/deepchat | Skill | 6.4k | yesterday | Apache-2.0 | A | 15 | Claude Code, Codex |
| engineer-bot-opsmakecindy/cindy | Skill | 9.3k | today | Apache-2.0 | A | 57 | Claude Code, Codex |
| mcore-split-prNVIDIA/skills | Skill | 3.9k | yesterday | Apache-2.0 | A | 25 | Claude Code |
| git-commit-writermergisi/awesome-openclaw-agents | Skill | 4.1k | 2d ago | MIT | A | 53 | Claude Code, Codex |
| contributingHugoRCD/evlog | Skill | 1.9k | 12d ago | MIT | A | 68 | Claude Code, Codex |