awd

awd is a skill for Claude Code, Codex from asaotomo/DeepSentry. It costs 32 tokens per session (466 once invoked), scanned A, original, Apache-2.0.

A defensive workflow for authorized attack-and-defense competitions, where teams keep services running while investigating attacks. It covers service checks, exposed processes and ports, webshell searches, log review, and scans for leaked flags or secrets.

In plain words
What is it for?
Checking HTTP and TCP availability, building a network and process baseline, investigating webshells, reviewing web, authentication, and system logs, finding exposed flags or tokens, and preparing a remediation queue.
Why use it?
It organizes low-risk checks and evidence collection after a service is attacked or suspicious files appear, while keeping potentially damaging fixes under human confirmation.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/asaotomo/deepsentry/awd
Any agent
npx skills add asaotomo/DeepSentry --skill awd
Clone the repo
git clone --depth 1 https://github.com/asaotomo/DeepSentry

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 awd

README.md
[![agentmods](https://agentmods.dev/badge/skills/asaotomo/deepsentry/awd.svg)](https://agentmods.dev/skills/asaotomo/deepsentry/awd)
Your own site
<a href="https://agentmods.dev/skills/asaotomo/deepsentry/awd"><img src="https://agentmods.dev/badge/skills/asaotomo/deepsentry/awd.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 466 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00032 $0.00466
Opus 5 $0.00016 $0.00233
Sonnet 5 $0.00006 $0.00093
Haiku 4.5 $0.00003 $0.00047

Measured 4d ago against content hash b105906dd7a1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

awd 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 4d 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.

skills/awd/SKILL.md · 46 lines

What it actually says

AWD Skill

何时使用

  • 用户提到 AWD、攻防赛、防守、靶机服务保活、被打、Webshell、flag 泄露。
  • 需要在比赛授权目标上做低风险巡检、证据整理和处置建议。

防守优先级

  1. 服务可用性:用 awd_service_check 检查 HTTP/TCP 状态。
  2. 暴露面:用 port_listennet_connectionsprocess_list 建立基线。
  3. Webshell:委派 webshell-hunter,结合 file_identfile_strings、最近修改文件。
  4. 日志证据:委派 log-analyst,读取 Web/auth/syslog 最近异常。
  5. Flag/敏感线索:用 flag_scan 找明文 flag、token、异常备份。
  6. 修复动作必须确认:改文件、上传、批量命令、脚本、转发都不能自动执行。

推荐工具

{"action":"tool","tool_name":"awd_service_check","tool_args":{"targets":"http://127.0.0.1:8080,127.0.0.1:22","timeout":"3"}}
{"action":"tool","tool_name":"flag_scan","tool_args":{"root":"/var/www","limit":"100"}}
{"action":"task","task_name":"webshell-hunter","task_prompt":"检查 /var/www 下可疑 Webshell,不要删除文件"}

输出格式

## AWD 防守报告
### 服务状态
### 高风险发现
### 入侵/后门证据
### Flag/敏感信息暴露
### 建议处置队列

边界

  • 不自动攻击其他队伍,不批量利用漏洞。
  • 不直接删除证据文件;先建议隔离/备份路径。
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. 4d ago First seen · 46 lines · 32 tokens per session scan A b105906dd7a1

Subscribe to this mod's changes

awd is a skill published in the GitHub repository asaotomo/DeepSentry (24 stars, last pushed today), licensed Apache-2.0. It adds 32 tokens to every session and 466 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other skills, from other repositories

go-expert

Expert-level Go development with Go 1.22+ features, concurrency, standard library, and production-grade best practices.

personamanagmentlayer/pcl · 27 tokens

skill-creator

Create, install, or update skills in the workspace. Use when (1) installing a skill from a URL or remote source, (2) creating a new skill from scratch, (3) updating or restructuring existing skills. Always use this skill for any skill installation or creation task.

zhayujie/CowAgent · 61 tokens

image-generation

Generate or edit images from text prompts. Use when the user asks to create, draw, design, or edit an image, illustration, photo, icon, poster, or any visual content.

zhayujie/CowAgent · 41 tokens

release-notes

Draft concise release notes.

ollama/ollama · 9 tokens

smart-docs

AI-powered comprehensive codebase documentation generator. Analyzes project structure, identifies architecture patterns, creates C4 model diagrams, and generates professional technical documentation. Use when users need to document codebases, understand software architecture, create technical specs, or generate…

sopaco/deepwiki-rs · 80 tokens

litho-document-skill

This skill should be used when the user asks to "generate project documentation", "analyze codebase architecture", "create C4 architecture diagrams", "document a repository", "generate technical docs", "使用 Litho 生成文档", "分析代码库架构", "生成架构文档", "为项目生成技术文档", "生成 C4 模型文档", "为这个项目写文档", "自动生成文档", "帮我分析这个代码库", or any request…

sopaco/deepwiki-rs · 185 tokens