Agent skill

Ctf Flag Verification

by wgpsec in wgpsec/AboutSecurity

CTF/靶场 Flag 强制验证流程。当通过任何方式发现疑似 flag 字符串(含 flag{、FLAG{、ctf{ 等格式)时必须立即使用此 skill 验证,不要直接提交。防止因字符截断、编码错误、HTML 实体、base64 不完整解码、hex 截断等原因导致提交错误 flag。即使 flag 看起来完整,也可能存在隐藏字符或编码问题。覆盖 SQL…

No licenceAuto-check passedSecurity

Install Ctf Flag Verification

skills CLI
$ npx skills add wgpsec/AboutSecurity --skill ctf-flag-verification -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install wgpsec/AboutSecurity ctf-flag-verification --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/wgpsec/AboutSecurity.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ctf/ctf-flag-verification .claude/skills/ctf-flag-verification && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ctf-flag-verification
GitHub stars
1.8k
Token cost
~644 tokens
SKILL.md length
194 words
Files
3
Skills in repo
64
Repo updated
First seen
Licence
None found

At a glance

CTF/靶场 Flag 强制验证流程。当通过任何方式发现疑似 flag 字符串(含 flag{、FLAG{、ctf{ 等格式)时必须立即使用此 skill 验证,不要直接提交。防止因字符截断、编码错误、HTML 实体、base64 不完整解码、hex 截断等原因导致提交错误 flag。即使 flag 看起来完整,也可能存在隐藏字符或编码问题。覆盖 SQL…

  • Works in 3 steps: 长度不匹配 → 重新提取。EXTRACTVALUE 改用 Python… → 格式不对 → 检查 HTML 编码、base64 编码、trailing… → 多次失败 → 切换提取方法(EXTRACTVALUE → UNION → 盲注…
  • Tasks that involve Capture the flag
  • SKILL.md covers 核心原则 and 强制验证流程
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Ctf Flag Verification is an agent skill from wgpsec/AboutSecurity. CTF/靶场 Flag 强制验证流程。当通过任何方式发现疑似 flag 字符串(含 flag{、FLAG{、ctf{ 等格式)时必须立即使用此 skill 验证,不要直接提交。防止因字符截断、编码错误、HTML 实体、base64 不完整解码、hex 截断等原因导致提交错误 flag。即使 flag 看起来完整,也可能存在隐藏字符或编码问题。覆盖 SQL 注入分段提取、命令执行输出截断、文件读取编码、Web 页面解析等所有 flag 提取场景。任何时候看到 flag{ 字样都应触发此 skill

Its SKILL.md is about 640 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files (for example `evals/evals.json` and `evals/recall.json`).

It sits in Security, covering Capture the flag. It works with SQL, Python and PHP. The repository describes itself as: Everything for pentest. | 渗透测试知识库,以 AI Agent 可执行的格式沉淀安全方法论。

When your agent uses it

  • Tasks that involve Capture the flag

Example prompts

  • “/ctf-flag-verification”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. 长度不匹配 → 重新提取。EXTRACTVALUE 改用 Python 自动脚本或 UNION SELECT
  2. 格式不对 → 检查 HTML 编码、base64 编码、trailing whitespace
  3. 多次失败 → 切换提取方法(EXTRACTVALUE → UNION → 盲注 → sqlmap --dump)

What it can do on your machine

Read from SKILL.md and the folder at commit db4573f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ctf Flag Verification loads about 644 tokens when it runs. Until then it costs about 70 tokens; SKILL.md has 194 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~70
When it runs · the whole SKILL.md, loaded when a task matches
~644

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 194 words (~644 tokens).

“LLM 无法可靠地数 hex 字符或拼接长字符串。 所有 flag 的提取、拼接、验证必须用程序(Python)完成,绝不手动拼接。”

— opening of SKILL.md by wgpsec
name
ctf-flag-verification
metadata.tags
ctf,flag,验证,capture the flag,靶场,flag验证,sqli,rce,lfi,file-read,提交,flag{,疑似flag,flag格式,flag截断,编码还原,hex,base64解码,字符截断,HTML实体,提取验证
metadata.category
ctf

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files in skills/ctf/ctf-flag-verification of wgpsec/AboutSecurity.

  • SKILL.md
  • evals/evals.json
  • evals/recall.json

Open the folder on GitHubat commit db4573f

Compare with similar skills

Ctf Flag Verification next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ctf Flag Verification compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ctf Flag Verification this skillwgpsec/AboutSecurity1.8k—~644Automated safety check: PassNone
Skylosduriantaco/skylos843—~581Automated safety check: PassApache-2.0
Secknowledge SkillPa55w0rd/secknowledge-skill423—~2.7kAutomated safety check: PassNone
Skylos Securityduriantaco/skylos843—~545Automated safety check: PassApache-2.0
Php Audit Pipeline0xShe/PHP-Code-Audit-Skill4021 repos~4.9kAutomated safety check: PassNone
Security WebshellsEyadkelleh/awesome-skills-security388—~636Automated safety check: PassNone

Similar skills

  • Skylos

    duriantaco/skylos

    Run, interpret, or modify Skylos safely. An agent skill from duriantaco/skylos.

    843 GitHub stars~581 tokensUpdated today
    SecurityAuto-check passed
  • Secknowledge Skill

    Pa55w0rd/secknowledge-skill

    Web+AI 安全测试知识库。融合 WooYun 88,636 案例 + 先知 L1-L4 方法论 + GAARM 173 风险 + OWASP Top 10 (LLM/ASI/WSTG)。

    423 GitHub stars~2.7k tokensUpdated 3 mo ago
    SecurityAuto-check passed
  • Skylos Security

    duriantaco/skylos

    Investigate and harden Skylos security behavior. An agent skill from duriantaco/skylos.

    843 GitHub stars~545 tokensUpdated today
    SecurityAuto-check passed
  • Php Audit Pipeline

    0xShe/PHP-Code-Audit-Skill

    PHP Web 全链路白盒代码安全审计流水线(多文件版编排)。作为总编排参考,按 Sink 类型调用各子审计 skill(php-route-mapper/php-auth-audit/php-route-tracer/php--audit),并复用统一输出与分级标准。

    402 GitHub starsUsed in 1 repo~4.9k tokens
    SecurityAuto-check passed
  • Security Webshells

    Eyadkelleh/awesome-skills-security

    Web shell samples for detection and analysis: PHP, ASP, ASPX, JSP, Python, Perl shells.

    388 GitHub stars~636 tokensUpdated 4 mo ago
    SecurityAuto-check passed
  • Php Codeigniter Audit

    0xShe/PHP-Code-Audit-Skill

    CodeIgniter 框架特效安全审计工具。针对 CodeIgniter 的 CSRF、XSS 输出过滤、数据库查询构造、路由与验证器配置、会话 Cookie 安全等机制进行白盒静态审计,并映射到通用漏洞类型体系(CSRF/AUTH/XSS/SQL/CFG/SESS 等)。

    402 GitHub starsUsed in 1 repo~477 tokens
    SecurityAuto-check passed

More from wgpsec/AboutSecurity

All 64 skills in this repo
  • A skill your agent uses whenever the user asks to add, absorb, migrate, port, update, merge, compare, or extract security knowledge into the AboutSecurity repository from any external resource such…

    1.8k GitHub stars~1.4k tokensUpdated 5 days ago
    Auto-check passed
  • Ad Persistence

    wgpsec/AboutSecurity

    AD 域环境持久化技术。当已获取域管/本地管理员权限、需要建立持久访问以确保重启或密码更改后仍能回到目标环境时使用。覆盖主机级持久化(计划任务/注册表Run/COM劫持/WMI事件订阅/Windows服务/启动文件夹)、域级持久化(Golden Ticket/Silver Ticket/Skeleton…

    1.8k GitHub stars~2.3k tokensUpdated 5 days ago
    Auto-check passed
  • Apt Emulation

    wgpsec/AboutSecurity

    APT 模拟与情报驱动红队方法论。基于已知 APT 组织的 TTP(MITRE ATT&CK)设计红队行动计划。当需要模拟特定威胁组织、设计高仿真攻击演练、或根据威胁情报制定攻击策略时使用

    1.8k GitHub stars~922 tokensUpdated 5 days ago
    Auto-check passed
  • Argocd Tactics

    wgpsec/AboutSecurity

    ArgoCD 后渗透方法论:Redis缓存投毒集群接管、SSO认证绕过、未授权API枚举、恶意Application部署、Webhook SSRF、默认凭据利用。

    1.8k GitHub stars~510 tokensUpdated 5 days ago
    Auto-check passed
  • C2 Beacon Analysis

    wgpsec/AboutSecurity

    C2 Beacon 配置提取与分析。当捕获到 Cobalt Strike/Sliver/Havoc 等 C2 框架的 Beacon 样本、内存 dump、或网络流量时使用。提取 C2 地址、通信协议、Malleable Profile、Watermark 等关键情报。红队视角:了解蓝队如何从 Beacon 提取 IOC 以改进 C2 OPSEC

    1.8k GitHub stars~1.2k tokensUpdated 5 days ago
    Auto-check passed
  • C2 Evasion Methodology

    wgpsec/AboutSecurity

    C2框架免杀方法论:分析 C2 源码、搜索检测规则(YARA/Sigma/Snort)、逐规则分析、修改源码绕过检测。当遇到 YARA/Sigma/Snort 规则触发告警、beacon/implant 被杀软检测到时使用。第一步:确认 implant/beacon 语言和架构;第二步:搜索对应检测规则并逐规则分析修改

    1.8k GitHub stars~557 tokensUpdated 5 days ago
    Auto-check passed

Works with

Categories

Questions about Ctf Flag Verification

What does Ctf Flag Verification do?

CTF/靶场 Flag 强制验证流程。当通过任何方式发现疑似 flag 字符串(含 flag{、FLAG{、ctf{ 等格式)时必须立即使用此 skill 验证,不要直接提交。防止因字符截断、编码错误、HTML 实体、base64 不完整解码、hex 截断等原因导致提交错误 flag。即使 flag 看起来完整,也可能存在隐藏字符或编码问题。覆盖 SQL…. Ctf Flag Verification is an agent skill from wgpsec/AboutSecurity.

When should I use Ctf Flag Verification?

Ctf Flag Verification fits situations like: tasks that involve Capture the flag.

How do I install Ctf Flag Verification in Claude Code?

Run `npx skills add wgpsec/AboutSecurity --skill ctf-flag-verification -a claude-code`. Or copy the skill folder (skills/ctf/ctf-flag-verification in wgpsec/AboutSecurity) into .claude/skills/ctf-flag-verification in your project. Claude Code loads it when a task matches its description.

How do I install Ctf Flag Verification in Codex?

Run `npx skills add wgpsec/AboutSecurity --skill ctf-flag-verification -a codex`. Or copy the skill folder (skills/ctf/ctf-flag-verification in wgpsec/AboutSecurity) into .agents/skills/ctf-flag-verification in your project. Codex loads it when a task matches its description.

Can I use Ctf Flag Verification in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wgpsec/AboutSecurity --skill ctf-flag-verification -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ctf-flag-verification, .gemini/skills/ctf-flag-verification, .github/skills/ctf-flag-verification and .opencode/skills/ctf-flag-verification in your project.

What does Ctf Flag Verification need to run?

SKILL.md names no scripts, command-line tools or credentials: Ctf Flag Verification is instructions for the agent only. Our summary lists: Python 3.

Does Ctf Flag Verification access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Ctf Flag Verification safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Ctf Flag Verification use?

No licence was found for Ctf Flag Verification or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Ctf Flag Verification use?

About 644 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Ctf Flag Verification?

Skills that share tags, products or a category with Ctf Flag Verification: Skylos (duriantaco/skylos, 843 stars), Secknowledge Skill (Pa55w0rd/secknowledge-skill, 423 stars), Skylos Security (duriantaco/skylos, 843 stars) and Php Audit Pipeline (0xShe/PHP-Code-Audit-Skill, 402 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ctf Flag Verification?

wgpsec (a GitHub organization) maintains it in wgpsec/AboutSecurity, which has 1,775 GitHub stars. The repository holds 64 skills in this directory. The repository was last updated on October 3, 2026.

Source: wgpsec/AboutSecurity on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.