my use case i want to run cursor cli with only one skill to make it very targeted. is it possible to skip skill loading all together or limit to specific skills?
Not really. You can force a single skill by explicitly invoking it or you can remove everything but one skill in .cursor/skills/
would be nice to have this option. maybe with flag like “skip file system config” to skip preloading agents md and skills
in short i want to run agent for code review using only “review skill” i do not want it to be bloated with context that is not review related
@jakehandy covered the main options well! One additional approach - you can set disable-model-invocation: true in the YAML frontmatter of all your other skills’ SKILL.md files. This prevents the agent from automatically loading them based on context, so only your review skill would be auto-applied (or you can explicitly invoke just the one you want with /skill-name). That way you don’t have to physically remove skill folders.
That said, there’s currently no CLI flag to skip skill/rule loading entirely. If you’d like that added, I’d encourage you to post it in the Feature Requests category so the team can track interest!
Docs references:
- Agent Skills (see the “Disabling automatic invocation” section)
- CLI Parameters