awd

awd is a skill for Claude Code, Codex from asaotomo/DeepSentry. It costs 32 tokens per session (685 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

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

Good fit 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.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asaotomo/deepsentry/awd
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 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/github.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/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 awd

Your own site · 80×15
<a href="https://agentmods.dev/skills/asaotomo/deepsentry/awd"><img src="https://agentmods.dev/badge/skills/asaotomo/deepsentry/awd.svg" alt="Reviewed on agentmods" width="80" 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 685 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00032 $0.00685
Opus 5.5 $0.00013 $0.00274
Sonnet 5.5 $0.00006 $0.00137
Haiku 4.5 $0.00003 $0.00068

Measured 28d ago against content hash d490abf9d088, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 28d 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 · 49 lines

What it actually says

AWD Skill

何时使用

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

防守优先级

  1. 先确认比赛授权范围、目标名、服务 URL/端口、预期状态码和关键文本;多目标先调用 fleet_inventory 核对匹配数量。
  2. 服务可用性:用 awd_service_check 并发检查 HTTP/TCP。HTTP 4xx 是 WARN,5xx 是 DOWN;带认证或自定义健康页时传 expected_status / contains。TCP OPEN 只说明端口可连,不能证明应用正常。
  3. 暴露面:在指定单目标上用 port_listen、net_connections、process_list 建立基线;多目标相同只读巡检用 fleet_exec。Windows 与 Linux 必须分组,分别使用对应命令和路径语法。
  4. Webshell:委派 webshell-hunter,结合 file_ident、file_strings、最近修改文件;日志委派 log-analyst,保留时间、路径、进程和连接证据。
  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":"fleet_inventory","tool_args":{"selector":"tag:awd,protocol:ssh"}}
{"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 防守报告
### 服务状态
每项写明目标、URL/端口、预期值、实测状态、延迟和检查时间。
### 高风险发现
### 入侵/后门证据
### 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. 28d ago Changed · +3 lines d490abf9d088
  2. 1mo 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 (38 stars, last pushed 3d ago), licensed Apache-2.0. It adds 32 tokens to every session and 685 once invoked, about $0.0001 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-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. Use when the user mentions concurrency, microservices, or backend, or when the task involves idiomatic Go, goroutines and channels, context-based cancellation, or writing an HTTP server.

personamanagmentlayer/pcl · 65 tokens

golang-testing

Go testing best practices including table-driven tests, test helpers, benchmarking, race detection, coverage analysis, and integration testing patterns. Use when writing or improving Go tests.

affaan-m/ECC · 37 tokens

golang-patterns

Go-specific design patterns and best practices including functional options, small interfaces, dependency injection, concurrency patterns, error handling, and package organization. Use when working with Go code to apply idiomatic Go patterns.

affaan-m/ECC · 45 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

ax-go-gen

Use when writing Go code with github.com/ax-llm/ax/packages/go for AxGen programs, forward calls, indexed multi-sampling, result pickers, streaming, tools, assertions, traces, usage, and output parsing.

ax-llm/ax · 54 tokens