{"id":"0585f162-c4a5-4a0c-88f8-beff93fb2801","shortId":"qSKKf8","kind":"skill","title":"ShellCheck Shell Script Static Analyzer","tagline":"Run static analysis on bash and shell scripts using ShellCheck to detect syntax errors, semantic pitfalls, and portability issues. Produces machine-readable diagnostics with fix suggestions.","description":"# ShellCheck Shell Script Static Analyzer\n\nRun static analysis on bash and shell scripts using ShellCheck to detect syntax errors, semantic pitfalls, and portability issues. Produces machine-readable diagnostics with fix suggestions.\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- brew install shellcheck\n- conda install -c conda-forge shellcheck\n- docker run --rm -v \"$PWD:/mnt\" koalaman/shellcheck:stable myscript\n- $ brew install cabal-install\n\nRequirements and caveats from upstream:\n- From Docker Hub:\n- This section describes how to build ShellCheck from a source directory. ShellCheck is written in Haskell and requires 2GB of RAM to compile.\n\nBasic usage or getting-started notes:\n- Run shellcheck yourscript in your terminal for instant output, as seen above.\n- For example, in a Makefile:\n- To run ShellCheck via [pre-commit](https://pre-commit.com/), add the hook to your .pre-commit-config.yaml:\n\n- Source: https://github.com/koalaman/shellcheck\n- Extracted from upstream docs: https://raw.githubusercontent.com/koalaman/shellcheck/HEAD/README.md\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/shellcheck-shell-script-static-analyzer/)","tags":["shellcheck","shell","script","static","analyzer","skills","agentskillexchange","agent-skills","ai-agents","ai-tools","awesome-list","claude-code"],"capabilities":["skill","source-agentskillexchange","skill-shellcheck-shell-script-static-analyzer","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/shellcheck-shell-script-static-analyzer","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,218 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:12:28.735Z","embedding":null,"createdAt":"2026-05-18T13:19:24.560Z","updatedAt":"2026-05-18T19:12:28.735Z","lastSeenAt":"2026-05-18T19:12:28.735Z","tsv":"'/),':165 '/koalaman/shellcheck':175 '/koalaman/shellcheck/head/readme.md':182 '/mnt':92 '/skills/shellcheck-shell-script-static-analyzer/)':189 '2gb':127 'add':166 'agent':184 'agentskillexchange.com':188 'agentskillexchange.com/skills/shellcheck-shell-script-static-analyzer/)':187 'analysi':8,40 'analyz':5,37 'bash':10,42 'basic':132 'brew':77,96 'build':114 'c':82 'cabal':99 'cabal-instal':98 'caveat':103 'commit':162 'compil':131 'conda':80,84 'conda-forg':83 'describ':111 'detect':17,49 'diagnost':29,61 'directori':119 'doc':179 'docker':87,107 'environ':76 'error':19,51 'exampl':152 'exchang':186 'extract':176 'fix':31,63 'forg':85 'get':136 'getting-start':135 'github.com':174 'github.com/koalaman/shellcheck':173 'haskel':124 'hook':168 'hub':108 'instal':65,69,78,81,97,100 'instant':146 'issu':24,56 'koalaman/shellcheck':93 'machin':27,59 'machine-read':26,58 'makefil':155 'match':74 'myscript':95 'note':138 'output':147 'path':72 'pitfal':21,53 'portabl':23,55 'pre':161 'pre-commit':160 'pre-commit-config.yaml':171 'pre-commit.com':164 'pre-commit.com/),':163 'produc':25,57 'pwd':91 'ram':129 'raw.githubusercontent.com':181 'raw.githubusercontent.com/koalaman/shellcheck/head/readme.md':180 'readabl':28,60 'requir':101,126 'rm':89 'run':6,38,88,139,157 'script':3,13,35,45 'section':110 'seen':149 'semant':20,52 'setup':71 'shell':2,12,34,44 'shellcheck':1,15,33,47,79,86,115,120,140,158 'skill':185 'skill-shellcheck-shell-script-static-analyzer' 'sourc':118,172,183 'source-agentskillexchange' 'stabl':94 'start':137 'static':4,7,36,39 'suggest':32,64 'syntax':18,50 'termin':144 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'upstream':68,105,178 'usag':133 'use':14,46,66 'v':90 'via':159 'written':122 'yourscript':141","prices":[{"id":"e9feb7cb-d6d0-4f80-ae9b-38832cb1ff25","listingId":"0585f162-c4a5-4a0c-88f8-beff93fb2801","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:19:24.560Z"}],"sources":[{"listingId":"0585f162-c4a5-4a0c-88f8-beff93fb2801","source":"github","sourceId":"agentskillexchange/skills/shellcheck-shell-script-static-analyzer","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/shellcheck-shell-script-static-analyzer","isPrimary":false,"firstSeenAt":"2026-05-18T13:19:24.560Z","lastSeenAt":"2026-05-18T19:12:28.735Z"}],"details":{"listingId":"0585f162-c4a5-4a0c-88f8-beff93fb2801","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"shellcheck-shell-script-static-analyzer","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"72e7184325f24aa08070332505af26c6fec81275","skill_md_path":"skills/shellcheck-shell-script-static-analyzer/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/shellcheck-shell-script-static-analyzer"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"ShellCheck Shell Script Static Analyzer","description":"Run static analysis on bash and shell scripts using ShellCheck to detect syntax errors, semantic pitfalls, and portability issues. Produces machine-readable diagnostics with fix suggestions."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/shellcheck-shell-script-static-analyzer"},"updatedAt":"2026-05-18T19:12:28.735Z"}}