Agent skill · Audited from source
Klingai Content Policy
skill · jeremylongshore/claude-code-plugins-plus-skillsMIT licenceAudited 9 Oct 2026 · source 4f83675ca38a
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 4f83675ca38a and found no filesystem, network or shell access and no hard-coded secrets. What it does: Implement content policy compliance for Kling AI prompts and outputs.
Cite
Cite this page
ModelsAtlas. “Klingai Content Policy (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 9 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/klingai-content-policy
Trust audit
Audit 0.4.1 · source read 9 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 4f83675ca38a · 9 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherjeremylongshore GitHub userOwner of the repository this skill is read from
- Source folderjeremylongshore/claude-code-plugins-plus-skills/plugins/saas-packs/klingai-pack/skills/klingai-content-policyThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict4f83675ca38aA new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Implement content policy compliance for Kling AI prompts and outputs.
--- name: klingai-content-policy description: 'Implement content policy compliance for Kling AI prompts and outputs. Use when filtering user prompts or handling moderation. Trigger with phrases like ''klingai content policy'', ''kling ai moderation'', ''safe video generation'', ''klingai content filter''. ' allowed-tools: Read, Write, Edit, Bash(npm:*), Grep version: 1.18.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - saas - kling-ai - content-policy - moderation compatibility: Designed for Claude Code --- # Kling AI Content Policy ## Overview Kling AI enforces content policies server-side. Tasks with policy-violating prompts return `task_status: "failed"` with a content policy message. This skill covers pre-submission filtering to avoid wasted credits and API calls. ## Restricted Content Categories Kling AI prohibits prompts that generate: | Category | Examples | |----------|---------| | Violence/gore | Graphic injuries, torture, weapons used violently | | Adult/sexual | Explicit nudity, sexual acts, suggestive content | | Hate/discrimination | Slurs, targeted harassment, supremacist imagery | | Illegal activity | Drug manufacturing, terrorism, fraud instructions | | Real people | Deepfakes of identifiable individuals without consent | | Copyrighted characters | Trademarked characters (Mickey Mouse, Spider-Man) | | Misinformation | Fake news, fabricated events presented as real | | Self-harm | Suicide, eating disorders, self-injury instructions | ## Pre-Submission Prompt Filter ```python import re class PromptFilter: """Filter prompts before sending to Kling AI to save credits.""" BLOCKED_PATTERNS = [ r"\b(nude|naked|explicit|nsfw|porn)\b", r"\b(gore|dismember|torture|mutilat)\b", r"\b(bomb|terroris|weapon|firearm)\b", r"\b(suicide|self.harm|kill.yourself)\b", r"\b(deepfake|impersonat)\b", ] BLOCKED_TERMS = { "blood splatter", "graphic violence", "child abuse", "drug manufacturing", "hate speech", } def __init__(self): self._patterns = [re.compile(p, re.IGNORECASE) for p in self.BLOCKED_PATTERNS] def check(self, prompt: str) -> tuple[bool, str]: """Returns (is_safe, reason).""" lower = prompt.lower() for term in self.BLOCKED_TERMS: if term in lower: return False, f"Blocked term: '{term}'" for pattern in self._patterns: match = pattern.search(prompt) if match: return False, f"Blocked pattern: '{match.group()}'" if len(prompt) > 2500: return False, "Prompt exceeds 2500 character limit" if len(prompt.strip()) < 5: return False, "Prompt too short" return True, "OK" def sanitize(self, prompt: str) -> str: """Remove problematic terms and return cleaned prompt.""" for pattern in self._patterns: prompt = pattern.sub("[removed]", prompt) return prompt.strip() ``` ## Safe Negative Prompts Always include safety-related negative prompts: ```python DEFAULT_NEGATIVE_PROMPT = ( "violence, gore, blood, nudity, sexual content, " "weapons, drugs, hate symbols, distorted faces, " "watermark, text overlay, low quality, blurry" ) def safe_request(prompt: str, negative_prompt: str = ""): """Build request with safety defaults.""" combined_negative = f"{DEFAULT_NEGATIVE_PROMPT}, {negative_prompt}".strip(", ") return { "model_name": "kling-v2-master", "prompt": prompt, "negative_prompt": combined_negative, "duration": "5", "mode": "standard", } ``` ## Integration with Client ```python class SafeKlingClient: """Kling client with pre-submission content filtering.""" def __init__(self, base_client): self.client = base_client self.filter = PromptFilter() def text_to_video(self, prompt: str, **kwargs): is_safe, reason = self.filter.check(prompt) if not is_safe: raise ValueError(f"Content policy violation: {reason}") # Add safety negative prompt kwargs.setdefault("negative_prompt", "") kwargs["negative_prompt"] = ( f"{DEFAULT_NEGATIVE_PROMPT}, {kwargs['negative_prompt']}".strip(", ") ) return self.client.text_to_video(prompt, **kwargs) ``` ## Handling Server-Side Rejections ```python def handle_policy_rejection(task_id: str, result: dict): """Handle content policy rejections gracefully.""" status_msg = result["data"].get("task_status_msg", "") if "content policy" in status_msg.lower() or "policy violation" in status_msg.lower(): return { "error": "content_policy_violation", "message": "Your prompt was rejected by Kling AI's content policy. " "Please revise to remove restricted content.", "task_id": task_id, "credits_consumed": False, # policy rejections typically don't consume credits } return {"error": "generation_failed", "message": status_msg, "task_id": task_id} ``` ## User-Facing Guidelines When building apps with user-submitted prompts: 1. **Filter before API call** -- saves credits on obvious violations 2. **Explain rejections clearly** -- tell users what to change 3. **Log violations** -- track patterns for filter improvement 4. **Rate limit prompt submissions** -- prevent abuse 5. **Review flagged content** -- human review for edge cases ## Prerequisites - A versioned policy configuration, an owner for escalation, a review queue, and a documented retention/deletion schedule. - A synthetic or rights-cleared fixture set for tests. Likeness, voice, and other identifiable-person inputs require documented consent; do not rely on a prompt filter as proof of rights. - A bounded credit budget and a private, watermarked draft destination. Public distribution requires a separate approval recor
Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 4f83675
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills git -C claude-code-plugins-plus-skills checkout 4f83675ca38a
The author documents no install command, so this uses the repository directly. Our verdict covers commit 4f83675ca38a only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
4f83675ca38a
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/jeremylongshore/klingai-content-policy/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Deploy and orchestrate Vertex AI ADK agents using A2A protocol. Manages
Add this badge to your README
[](https://modelsatlas.com/skills/jeremylongshore/klingai-content-policy/)
<a href="https://modelsatlas.com/skills/jeremylongshore/klingai-content-policy/"><img src="https://modelsatlas.com/skills/jeremylongshore/klingai-content-policy/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Klingai Content Policy
What does the Klingai Content Policy skill do?
Is Klingai Content Policy safe to install?
What can Klingai Content Policy access on my machine?
Which assistants does Klingai Content Policy work with?
How current is this page?
Sources
- github.com/jeremylongshore/claude-code-plugins-plus-skills/tree/ — the audited source at commit 4f83675ca38a and every finding aboveObserved · 9 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Klingai Content Policy skill do?
- Is Klingai Content Policy safe to install?
- What can Klingai Content Policy access on my machine?