Skill Auto-Injection

PassAudited by ClawScan on May 16, 2026.

Overview

The plugin appears to do its stated job of matching installed local skills and adding suggestions to the prompt, but users should understand that it changes prompt context, calls a configured Ollama endpoint, and writes local cache files.

Install this only if you want automatic skill suggestions in the agent prompt. Keep the model endpoint local or trusted, use trusted local skills, review the prompt-injection policy setting, and verify the plugin ID before enabling it.

Findings (4)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

Installed skills may be suggested to the agent automatically, so a misleading or untrusted local skill description could influence which capabilities the agent considers.

Why it was flagged

The plugin intentionally inserts matched skill information into the prompt context and documents that prompt-injection blocking may need to be relaxed for it to work.

Skill content
If policy-layer blocks prompt injection, skill matching results won't appear in context: ... "allowPromptInjection": true
Recommendation

Use this only with trusted installed skills, keep match limits and thresholds conservative, and avoid broad prompt-injection allowances unless you understand their effect.

What this means

If configured to use a remote or shared Ollama endpoint, private prompts or skill descriptions could leave the local machine.

Why it was flagged

User request text is sent to the configured Ollama-compatible API endpoint for translation/LLM operations; the default is localhost, but the endpoint is configurable.

Skill content
baseUrl: process.env.OLLAMA_BASE_URL || "http://localhost:11434" ... prompt: `Translate the following user request to English... User request: ${text}`
Recommendation

Keep the Ollama base URL local or otherwise trusted, and avoid sending sensitive prompts through an untrusted model endpoint.

What this means

A poorly described or malicious local skill could poison its cached keywords and be surfaced more often in future prompts.

Why it was flagged

The plugin persists LLM-derived embeddings and keywords next to each skill and later reuses them for matching.

Skill content
const metaPath = join(skillDir, "skill-meta.json"); ... await writeFile(metaPath, JSON.stringify(meta, null, 2), "utf-8");
Recommendation

Install skills only from trusted sources and delete or regenerate skill-meta.json cache files after changing or removing questionable skills.

What this means

A user may configure or inspect the wrong plugin ID if they do not notice the mismatch.

Why it was flagged

The artifacts acknowledge a naming/configuration mismatch, which can confuse plugin allowlists and verification.

Skill content
Problem: `plugin id mismatch (config uses "skill-ai-inject", export uses "skill-auto-injection")` ... Always use `skill-auto-injection` as the canonical ID
Recommendation

Verify the installed plugin identity, source repository, and OpenClaw allowlist entry before enabling it.