Anthropic Official Document Skills and Cloudflare Security Audit Skill | PromleeBlog
Before using a skill, two questions come up.
What structure do skills from Anthropic follow, and is it safe to hand a security audit to an agent?
This post looks at the xlsx document skill in anthropics/skills and cloudflare/security-audit-skill.
The results come first.
I ran the xlsx skill once through a wrapper plugin and confirmed that it created a file.
The generated data is a sample that the model made.
I did not run the audit skill in full. I ran only its recon and static-analysis stages, with limits, and checked whether the three candidates change the query structure inside a container with no network.
So most of the explanation below rests on the original repository text. I will separate what I checked myself from what the source states.
The basic concept of skills and the SKILL.md structure were covered in Part 1, so I omit them here.
Structure and License of the anthropics/skills Repository ๐
The repository contains example skills (skills/), a skeleton for creating new skills (template/), and the Agent Skills specification (spec/).
The four document skills, docx, pdf, pptx, and xlsx, are introduced as the same skills that power Claude's document features.
However, the README adds that even the same skill may behave differently in Claude. This means the repository code does not by itself guarantee how the product behaves.
The install commands follow the README. In this test I did not install from the marketplace. Instead, I pointed --plugin-dir at the cloned repository.
The README says that after installing the plugin, you can use a skill just by mentioning its name. For example, you can ask it to extract form fields from a PDF.
Skill folders also contain Python scripts under scripts/ that the agent can run. It is safer to read these scripts before installing.
The license is not one for the whole repository.
There is no license file at the root, and the README states that several skills are under Apache 2.0.
In the shallow clone I checked (HEAD e4bb5d9), 18 of the 19 skill folders contained a LICENSE.txt with the full text of Apache License 2.0. doc-coauthoring did not have one.
Check the LICENSE in each folder before you use a skill.
The README says these skills are for demonstration and education, and advises testing them in your own environment before using them for important work.
On Claude.ai, example skills are available on paid plans. The README explains that with the Claude API, you can use prebuilt skills through the Skills API or upload your own skills.
A skill you write requires only two frontmatter fields, name and description, and the body below them holds the instructions Claude follows.
The first run failed with Not logged in ยท Please run /login because I was not logged in yet, so no file was created. After logging in, I ran it again with the same goal. The results below are from that second run.
I loaded the xlsx skill from anthropics/skills as a wrapper plugin, ran it once with the Haiku model, and confirmed that the file was created.
The wrapper structure differs from the original repository. The original lists four document skills in one plugin through a marketplace definition file, and it has no plugin.json at the root. So I made a wrapper plugin (xlsx-only, including plugin.json) that copies only the xlsx folder and pointed --plugin-dir at it. I left the original repository unchanged.
The run options were --model haiku, --max-budget-usd 1, and --permission-mode acceptEdits. The result was is_error: false, num_turns: 7, and a cost of 0.01176 USD.
I could not confirm a Skill tool call in the result JSON. So I do not conclude that the skill was invoked to create the file. The file could also have been created with the Bash or Write tool.
The generated outputs/visits.xlsx has a sheet named ๋ฐฉ๋ฌธ๊ธฐ๋ก (visit log) covering range A1:G6. The header has seven columns: No., visit date, visiting company, visitor, purpose of visit, responsible department, and notes. There are 5 data rows. Visiting companies are Example Company A through E, visit dates run from 2026-11-02 to 2026-11-27, and every notes cell reads ์ํ ๋ฐ์ดํฐ (sample data). There are 0 formula cells, and the font is Arial.
The data is a sample made by the model. I did not give it real visit records in the prompt, so this is not a summary of actual records.
Screen showing cell values printed after reading visits.xlsx with openpyxl. Sheet: visit log, range A1:G6, header and five sample rows, with 0 formula cells.
One more thing did not match in this environment.
SKILL.md assumes that openpyxl, pandas, and markitdown are preinstalled, but in this environment import openpyxl failed with ModuleNotFoundError under the system python3. So I ran the script and checked the cells in a venv in the experiment folder.
๐
For the xlsx item, the scope is
one run, confirmed file creation
. I did not confirm whether the skill was actually invoked, and I did not run formula recalculation (scripts/recalc.py). The SKILL.md rules below are summarized from reading the original repository text.
The SKILL.md trigger applies when a spreadsheet is the main input or output. Target files include .xlsx, .xlsm, .csv, and .tsv.
The rule in SKILL.md to watch is about formulas.
It says not to compute results in Python and insert them, but to write them as formulas such as =SUM(B2:B9).
A file saved by openpyxl has no calculated values, so it must be recalculated with scripts/recalc.py. Until then, the document says pandas reads formula cells as None.
The Six Stages of the Cloudflare Security Audit Skill ๐
cloudflare/security-audit-skill is a skill that turns an agent into a security auditor. According to the README, it was the seed of Cloudflare's vulnerability discovery harness, and it is licensed under MIT.
The install command in the README is npx skills add https://github.com/cloudflare/security-audit-skill --skill security-audit. This command runs through the npx skills CLI based on skills.sh. In this test I did not run the install command.
Security questions and local checks run in guide mode and do not create files. If you ask for a full audit, such as "Security audit this codebase", full audit mode turns on and runs all six stages.
Reconnaissance
Records the structure, trust boundaries, and input surface in architecture.md and coverage-ledger.json.
Coverage-driven hunting
Assigns an isolated hunter to each ledger unit, and finds areas the critic has missed.
Candidate validation
A new validator tries to refute each candidate. The agent that found the issue does not validate it itself.
Triage and recording
Sorts results into confirmed, needs_validation, and rejected and writes them to findings.json.
Independent record verification
A new agent rechecks the final source claims.
Target-neutral reporting
Builds report files such as REPORT.md from the verified records.
The README says two validators that run on Node.js, validate-findings.cjs and validate-coverage-ledger.cjs, check findings.json and the ledger against their schemas.
In the repository, these two validator pairs were the only executables. I did not find an install script or hook within the scope I read. However, this only covers the files I read, so it is worth looking once more before installing.
The three verdicts mean different things.
confirmed is applied only when source tracing is complete and the observed result is bounded.
needs_validation records one unresolved fact, so it has no severity.
So needs_validation does not mean "no problem." It is an item whose judgment is deferred, and in stage 6 these items are collected separately in NEEDS-VALIDATION.md.
The README explains that multiple runs build on each other. On a rerun, it targets gaps based on the previous ledger and findings, and it does not count stale or unresolved work as completed inspection.
There are three principles.
First, a severity rating requires demonstrated impact.
Second, gaps in defense in depth are recorded as hardening notes, not as vulnerabilities.
Third, results accumulate across repeated runs. The author observed that a single run found about half of all findings from repeated runs. This figure is the author's published claim, and I did not verify it in this test.
The audit skill runs the target's builds, tests, and processes. So SKILL.md requires running it only inside an OS-level sandbox.
Four controls are all required: blocking external network access, environment variables filled from an allowlist, a read-only target with writes limited to scratch/, and resource limits.
The model must also support tool use and parallel subagents.
If you cannot enforce all of these controls, do not run the target code, and leave candidates as needs_validation.
Fetching from remote sources during dependency installation and builds is also prohibited.
The default output path for a full audit is ~/security-audit-skill/<repo-name>/run-<N>. To write inside the repository, the user must choose that folder directly, and version control must ignore the entire folder.
SKILL.md also says not to use /tmp or the home directory as an alternative write path. If you actually run it, setting an experiment folder as the output path rather than the default path makes results easier to find and clean up.
A full audit counts agent calls, and if the user sets a budget, it runs only within that budget. SKILL.md requires that if the budget runs out before candidates are validated, the report is not marked complete, and the run status is recorded as incomplete.
๐๏ธ
Only test on
your own repository
. Do not audit or probe other people's systems, production endpoints, or shared infrastructure. SKILL.md also prohibits probing deployed endpoints and external services.
This practice had two stages. First, I ran only the recon and static-analysis stages of the audit skill once, with the Haiku model, against my own sample project (two teaching files). Shell and agent-call tools were blocked, and no target code was executed. This stage produced three candidates (C-01 to C-03), all recorded as needs_validation.
Second, I ran a harness that checks the candidates in a Docker container started with --network none. The container had a read-only root file system and the target folder mounted read-only. The harness records only the SQL strings passed to db.query, with no real database.
== C-01 name ๋ฌธ์์ด ์ฐ๊ฒฐ (user-search.js) ==์ ์ ์ ๋ ฅ alice -> returned SQL: SELECT id, name, email FROM users WHERE name = 'alice' ์ฃผ์ ํํ ์ ๋ ฅ -> returned SQL: SELECT id, name, email FROM users WHERE name = 'x' OR '1'='1' == C-02 role ๋ฌธ์์ด ์ฐ๊ฒฐ (user-search.js) ==role ์ฃผ์ ํํ ์ ๋ ฅ -> returned SQL: SELECT id, name, email FROM users WHERE name = 'alice' AND role = 'admin' OR '1'='1' == C-03 orderId ํ ํ๋ฆฟ ๋ฆฌํฐ๋ด (user-search.js) ==์ซ์ ์ ๋ ฅ 42 -> returned SQL: SELECT * FROM orders WHERE id = 42 ์ฃผ์ ํํ ์ ๋ ฅ -> returned SQL: SELECT * FROM orders WHERE id = 1 OR 1=1 == ๋์กฐ: ์ ๋ ฅ ๊ฒ์ฆ ๋ฒ์ (signup-validate.js) ==๊ฐ์ name ์ฃผ์ ํํ -> threw: invalid name๊ฐ์ role ์ฃผ์ ํํ -> threw: invalid role
All three candidates changed the SQL string's structure when given user input. C-01 and C-02 broke out of the quotes and added an OR condition, and C-03 placed OR 1=1 in the numeric slot. The validated counterpart rejected the same input.
However, this experiment shows only that the query string changes. I did not check whether a real database would return other users' data, or whether an upstream caller filters the input. So these candidates should be read as "candidates whose query structure change was confirmed," not as "confirmed vulnerabilities."
The Docker container is a minimal setup that covers only the network block and write restriction among the sandbox requirements. I did not enforce resource limits or an environment-variable allowlist in this run.
Both repositories document their limits. The official document skills state that they are for demonstration, and the audit skill splits verdicts into three types and sets the condition that it will not run target code without a sandbox.
When choosing skills published by companies, the baseline is
to check the license in each folder, and for skills that require execution, to check the sandbox and output path first
. The pre-installation checklist continues in Part 12.
The document skills suit developers who want to read their SKILL.md files as reference implementations. The audit skill suits people who can set up a sandbox themselves and want to check their own repository.