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 skills add akin-ozer/cc-devops-skills --skill jenkinsfile-validatorgit clone --depth 1 https://github.com/akin-ozer/cc-devops-skillsWrote 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/akin-ozer/cc-devops-skills/jenkinsfile-validator)<a href="https://agentmods.dev/skills/akin-ozer/cc-devops-skills/jenkinsfile-validator"><img src="https://agentmods.dev/badge/skills/akin-ozer/cc-devops-skills/jenkinsfile-validator/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/akin-ozer/cc-devops-skills/jenkinsfile-validator"><img src="https://agentmods.dev/badge/skills/akin-ozer/cc-devops-skills/jenkinsfile-validator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
- NVIDIA SkillSpector pass
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.00019 | $0.02650 |
| Opus 5.5 | $0.00008 | $0.01060 |
| Sonnet 5.5 | $0.00004 | $0.00530 |
| Haiku 4.5 | $0.00002 | $0.00265 |
Grade A, and why
jenkinsfile-validator 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.
How it starts
The opening of the file, as written. The whole thing — 303 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Jenkinsfile Validator Skill
Use this skill to validate Jenkins pipelines and shared libraries with local scripts first, then optionally enrich findings with plugin documentation.
Trigger Phrases
Use this skill when requests look like:
- "Validate this Jenkinsfile"
- "Check this pipeline for security issues"
- "Lint my Declarative/Scripted pipeline"
- "Why is this Jenkins pipeline failing syntax checks?"
- "Validate vars/.groovy or src/**/.groovy shared library files"
Scope
This skill validates:
- Declarative pipelines (
pipeline { ... }) - Scripted pipelines (
node { ... }and Groovy-style pipelines) - Shared library files (
vars/*.groovy,src/**/*.groovy) - Hardcoded credential patterns
- Pipeline best practices and maintainability signals
Prerequisites
Run commands from repository root unless noted.
Required tools
bashgrepsedawkheadwcfind(needed for shared-library directory scans)
Recommended tools
jq(optional; improves JSON-heavy troubleshooting workflows)
Script prerequisites
- Scripts live in
devops-skills-plugin/skills/jenkinsfile-validator/scripts/ - Main orchestrator can run child scripts even if
+xis missing (it usesbashfallback) - If you want direct execution (
./script.sh), make scripts executable:
chmod +x devops-skills-plugin/skills/jenkinsfile-validator/scripts/*.sh
Preflight check (recommended)
SKILL_DIR="devops-skills-plugin/skills/jenkinsfile-validator"
command -v bash grep sed awk head wc find >/dev/null && echo "required tools: ok" || echo "required tools: missing"
command -v jq >/dev/null && echo "jq: installed (optional)" || echo "jq: missing (optional)"
[ -d "$SKILL_DIR/scripts" ] && echo "scripts dir: ok" || echo "scripts dir: missing"
[ -f "$SKILL_DIR/scripts/validate_jenkinsfile.sh" ] && echo "main validator: ok" || echo "main validator: missing"
Quick Start (Normalized Paths)
Use a single base path variable to avoid path ambiguity.
What ships with it
24 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- examples/bad-declarative-pipeline.Jenkinsfile 2.6 KB
- examples/bad-scripted-pipeline.Jenkinsfile 5.4 KB
- examples/declarative-docker.Jenkinsfile 3.4 KB
- examples/declarative-kubernetes.Jenkinsfile 3.9 KB
- examples/declarative-parallel.Jenkinsfile 3.2 KB
- examples/declarative-unknown-plugins.Jenkinsfile 5.5 KB
- examples/scripted-basic.Jenkinsfile 2.6 KB
- examples/scripted-conditional.Jenkinsfile 5.6 KB
- examples/scripted-docker.Jenkinsfile 4.0 KB
- examples/shared-library/src/com/example/BuildConfig.groovy 1.2 KB
- examples/shared-library/vars/BadStep.groovy 1.5 KB
- examples/shared-library/vars/buildApp.groovy 3.1 KB
- references/best_practices.md 14 KB
- references/common_plugins.md 14 KB
- references/declarative_syntax.md 14 KB
- references/scripted_syntax.md 18 KB
- scripts/best_practices.sh 18 KB runs code
- scripts/common_validation.sh 21 KB runs code
- scripts/validate_declarative.sh 22 KB runs code
- scripts/validate_jenkinsfile.sh 18 KB runs code
- scripts/validate_scripted.sh 15 KB runs code
- scripts/validate_shared_library.sh 15 KB runs code
- tests/run_local_ci.sh 707 B runs code
- tests/test_validate_jenkinsfile.sh 4.2 KB runs code
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 · 303 lines · 19 tokens per session scan A 4df986b22502
jenkinsfile-validator is a skill published in the GitHub repository akin-ozer/cc-devops-skills (332 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 19 tokens to every session and 2,650 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-08-30.
jenkinsfile-validator compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| jenkinsfile-validatorakin-ozer/cc-devops-skills | Skill | 332 | 3mo ago | Apache-2.0 | A | 19 | Claude Code |
| chinese-git-workflowjnMetaCode/superpowers-zh | Skill | 8.5k | 11d ago | MIT | A | 69 | Claude Code |
| atmos-profilescloudposse/atmos | Skill | 1.4k | yesterday | Apache-2.0 | A | 35 | Claude Code |
| webhook-managementhoangsonww/Claude-Code-Agent-Monitor | Skill | 1.1k | yesterday | MIT | A | 56 | Claude Code, Codex |
| monorepo-managementwshobson/agents | Skill | 42k | yesterday | MIT | C | 54 | Claude Code |
| managing-github-actions-secretsPostHog/posthog-foss | Skill | 728 | yesterday | MIT | A | 67 | Claude Code, Codex |
| postman-newman-automationLambdaTest/agent-skills | Skill | 390 | yesterday | MIT | A | 156 | Claude Code, Codex |