draft-issue-comment

draft-issue-comment is a skill for Claude Code, Codex from cosai-oasis/secure-ai-tooling. It costs 107 tokens per session (732 once invoked), scanned A, original, Apache-2.0.

A skill that drafts a structured review comment for a GitHub issue proposing content for the CoSAI Risk Map, a map of risks and safeguards for AI systems. It saves the draft to a local Markdown file for a maintainer to edit and post.

In plain words
What is it for?
Use it to review proposed risks, controls, components, or personas and prepare maintainer feedback.
Why use it?
It turns the review process into a ready-to-edit document without posting anything to GitHub automatically.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review proposed risks, controls, components, or personas and prepare maintainer feedback.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cosai-oasis/secure-ai-tooling/draft-issue-comment
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cosai-oasis/secure-ai-tooling --skill draft-issue-comment
Clone the repo
git clone --depth 1 https://github.com/cosai-oasis/secure-ai-tooling

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for draft-issue-comment

README.md
[![agentmods](https://agentmods.dev/badge/skills/cosai-oasis/secure-ai-tooling/draft-issue-comment/github.svg)](https://agentmods.dev/skills/cosai-oasis/secure-ai-tooling/draft-issue-comment)
Your own site
<a href="https://agentmods.dev/skills/cosai-oasis/secure-ai-tooling/draft-issue-comment"><img src="https://agentmods.dev/badge/skills/cosai-oasis/secure-ai-tooling/draft-issue-comment/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for draft-issue-comment

Your own site · 80×15
<a href="https://agentmods.dev/skills/cosai-oasis/secure-ai-tooling/draft-issue-comment"><img src="https://agentmods.dev/badge/skills/cosai-oasis/secure-ai-tooling/draft-issue-comment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 732 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00107 $0.00732
Opus 5.5 $0.00043 $0.00293
Sonnet 5.5 $0.00021 $0.00146
Haiku 4.5 $0.00011 $0.00073

Measured 15d ago against content hash 2c6dd3905d08, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

draft-issue-comment scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 15d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

scripts/skills/draft-issue-comment/SKILL.md · 34 lines

How it starts

The opening of the file, as written. The whole thing — 34 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Draft Issue Review Comment

Source of truth: the review process, field-by-field feedback, output structure, and quality gates live in the canonical agent spec scripts/agents/issue-response-reviewer.md (which composes content-reviewer in issue mode). This skill applies that spec; it does not restate its rules. Duplicating the spec here is what let an earlier version drift stale — this skill stays thin and lets the canonical spec remain the authority.

Produce a structured maintainer review comment for a GitHub issue proposing new or updated CoSAI-RM content, written to a local file for the maintainer to edit and post manually (this skill produces a local draft and does not post to GitHub).

Steps

  1. Load the review spec. Read scripts/agents/issue-response-reviewer.md and follow it — it defines the review workflow, the field-by-field feedback structure, the output template, and the quality gates. Do not re-derive these here.
  2. Gather issue context:
    • gh issue view <number> --repo cosai-oasis/secure-ai-tooling --json title,body,author,createdAt,labels,comments
    • gh api repos/cosai-oasis/secure-ai-tooling/issues/<number>/comments for any discussion
    • Determine the issue type (risk | control | component | persona) from the issue's template label / title prefix, or the --type argument.
    • Read the relevant risk-map/yaml/*.yaml for overlap analysis, and the style guides the canonical spec names for that type.
  3. Produce the review following the canonical spec's output structure and quality gates.
  4. Write the draft to draft-<issue-number>-comment.md in the repo root. It is a local draft; the maintainer edits and posts it.

Operational notes

  • Local output only. This skill writes a local draft; the maintainer posts it manually.
  • Citations follow the canonical spec's rules (ADR-016/017), not a copy of them here. The earlier drift bug this skill was rewritten to fix was exactly an inline HTML-anchor citation rule going stale — do not reintroduce field-level citation mechanics in this file; read them from issue-response-reviewer.md each time.
  • Keep this skill thin. If the review logic changes, update scripts/agents/issue-response-reviewer.md (the authority), not this file.

Read the full file on GitHub · 34 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 15d ago First seen · 34 lines · 107 tokens per session scan A 2c6dd3905d08

Subscribe to this mod's changes

draft-issue-comment is a skill published in the GitHub repository cosai-oasis/secure-ai-tooling (100 stars, last pushed today), licensed Apache-2.0. It adds 107 tokens to every session and 732 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-01.

Related

Other skills, from other repositories

svc-mobile-android

Android APK static analysis — OWASP Mobile Top 10, Retrofit API audit, transport security, smali reading, component export, auth flow analysis. Use when target is an APK/Android app. Triggers - APK, Android, mobile app, decompiled, smali, jadx, apktool.

s0ld13rr/pentestcode · 66 tokens

svc-pivoting

Turn a foothold into a RELIABLE pivot (SOCKS tunnel + persistent shell) so internal volume never rides a fragile stateless RCE. Use the moment you have code-exec on a dual-homed/edge host and need to reach an internal segment. Triggers - dual-homed host, "not reachable from my box", internal CIDR behind a foothold…

s0ld13rr/pentestcode · 103 tokens

web-auth-bypass-idor

Broken access control - IDOR, privilege escalation, JWT abuse, mass assignment, forced browsing - for web apps and APIs. Use on any multi-user or role-based app with object IDs, tokens, or admin functionality. Triggers - /api/users/ , /orders/ , ?account=/uid=/doc=, JWT (eyJ...), role/isAdmin field, admin panel, "403…

s0ld13rr/pentestcode · 97 tokens

web-deserialization

Insecure deserialization to RCE for web apps. Use when the app deserializes attacker-controlled data - cookies/tokens/hidden fields/params that are serialized blobs, VIEWSTATE, Java/PHP/.NET/Python/Node apps. Triggers - base64 starting rO0AB or hex AC ED 00 05 (Java), PHP serialize O-prefix, VIEWSTATE, python pickle…

s0ld13rr/pentestcode · 98 tokens

web-lfi-traversal

Path traversal / Local File Inclusion detection→file-read→RCE for web apps. Use when a param names a file/path/page/template/lang/download, or a response embeds file contents. Triggers - file=/page=/path=/template=/lang=/download=/include= param, ../, %2e%2e, "no such file", directory listing, download endpoint.

s0ld13rr/pentestcode · 83 tokens

web-sqli

SQL injection detection→exploitation→proof for web apps and APIs. Use when a parameter reaches a DB query, when input triggers a SQL error / boolean or time differential, or during VULN-ASSESSMENT/EXPLOITATION on a web target. Triggers - sql syntax error, ORA-/MySQL/psql/SQLite error string, ' or 1=1, order by…

s0ld13rr/pentestcode · 100 tokens