Calling the skill inspector from inside a skill
Description
Is your feature request related to a problem? Please describe. I am currently working with skills and trying to optimize performance/token usage. I want to use the skill inspector tool within a skill, but I am unclear on how its behavior changes depending on whether an LLM is actively driving it or if it's called programmatically without an LLM context
Describe the solution you'd like
I'm looking for clarification (or documentation updates) on the internal mechanics of the skill inspector tool. Specifically: Behavioral Parity: Does calling the skill inspector tool wth --no-llm argument inside a skill yield the exact same functional output/evaluation as calling it with an LLM?
I am seeing some results when executing the static analysis that my skill understand as false positives
Thanks for raising this.
--no-llm is not intended to produce the exact same evaluation as an LLM-enabled scan.
When --no-llm is used, SkillSpector runs the deterministic/static analyzers only. LLM-backed semantic checks are skipped, and the meta-analysis step uses fallback/default handling rather than asking an LLM to review, filter, or enrich findings. This mode is faster and works without model credentials, but it can produce more false positives because it does not have the same contextual review step.
Calling SkillSpector from inside a skill should not change that behavior by itself. The behavior is determined by the scan options/state, especially --no-llm / use_llm, and whether LLM credentials are available.
Thank you for the explanation, and thank you for working on the MCP. Is this skill meant to be used in a pipeline? Right now, I think delivering this as a pipeline will confuse our dev teams. Maybe another static-strict option to find only real positives issues or something like that is on the table?
Thank you in advance
Yes, SkillSpector is intended to be usable in pipelines, but as a risk/evidence layer rather than the final policy engine.
For CI or catalog gates, deterministic/static findings are the best fit because they are reproducible. LLM-backed analysis is useful for semantic review and triage, but teams should decide how to map those findings into their own release policy.
The behavior is intentionally not identical: --no-llm runs the deterministic/static analyzers and non-LLM fallback, while an LLM-enabled scan also runs semantic analyzers and LLM meta-analysis, so findings and the verdict can differ. The current README and CLI help document that static-only tradeoff, and #253 added the companion skill-inspector workflow for using SkillSpector as the static evidence layer before source-aware review.
Closing as answered/completed. If there is a specific remaining false-positive case, please open a focused reproduction so it can be evaluated independently.