You ask in plain words
With whatever notes or documents you already have.
The workflow says it succeeded. Does its output contain every file it should?
Verify run 41, artifact pack. report.csv and notes.txt must contain data. ready.flag may be empty.
Your notes
run 41 succeeded; artifact pack retrieved report.csv | 0 bytes ready.flag | 0 bytes notes-old.txt | 18 bytes
Your agent answers with a checked method
It runs 5 checks before it replies.
Your agentUsing this skill
Run 41’s pack is incomplete. Regenerate report.csv with data and include notes.txt under its required name. The empty ready.flag is valid. Retrieve the replacement archive and check both files before handing it over.
- Some artifact upload configurations only warn when there are no matching paths.
- A green workflow, a non-empty ZIP container or an artifact from a neighbouring run cannot prove this particular handover.
- An expired artifact cannot be downloaded even though the run page still exists. Check the expiry before promising a handover.
- The size the API reports is for the whole archive. It does not show that each required file inside has content.
- Artifacts created with upload-artifact v4 or later are immutable. A fix means a new upload or a new run, then a fresh check of the replacement archive.
Why that’s right. The empty marker is allowed. notes-old.txt cannot stand in for notes.txt.
Is it the right skill?
What it’s for, and when another skill or a person is the better choice.
Use it when
- A workflow run succeeded and someone wants to confirm its artifact contains every required file before handing it over.
- A recipient says a download is missing files or contains an empty report.
- A release checklist needs proof that a specific run produced a specific file, such as a signed PDF or a build archive.
Not the right skill when
- Debugging why a build step failed. Read the job logs for that.
- Judging whether a file's contents are right beyond the stated checks, such as whether a report's figures are correct. That needs the file's owner or a subject review.
- Other CI systems without adapting the evidence. The method holds, but artifact naming, retention and access rules differ by system.
The method it follows
7 steps, in order, every time.
- Bind the evidence to the requested run and artifact name. In GitHub's REST API each artifact record carries its workflow run ID and an expired flag. An upload step that reported success is not proof that the archive exists.
- If no archive for that run can be identified, or it has expired, report unavailable and stop. An artifact with the same name from an earlier or later run does not stand in.
- List the archive's members with their uncompressed sizes and compare each required path exactly: case-sensitive and relative to the archive root. upload-artifact roots the archive at the least common ancestor of the uploaded paths, so compare against the member paths, not the paths on the runner.
- Record missing paths and, separately, required non-empty files that are zero bytes. A similarly named file (notes-old.txt for notes.txt) leaves the requirement missing. Ignore extra files for coverage.
- Remember upload-artifact's defaults when explaining a gap: if no files match it only warns (if-no-files-found: warn), and hidden files are excluded unless include-hidden-files is set, so a green job can produce an empty or partial artifact.
- For content checks such as page count, signature or format, inspect the final file itself. For access checks, use evidence from the intended recipient: downloading needs a signed-in account with read access to the repository, so an administrator's download says nothing about a reviewer. Mark each such check passed, failed or unverified.
- Report complete only when the right archive is available, nothing required is missing or empty, and every extra check passed. Otherwise report incomplete, listing failed and unverified checks in the order given.
What to have ready
If something’s missing, your agent asks before it starts.
- The exact run ID, expected artifact name and the required paths, including which must be non-empty.
- Run outcome and archive listing with path and uncompressed byte size, captured for that same run.

What is the exact run ID and artifact name? Evidence from another run or another artifact does not count.

Which paths must be in the archive, and which must be non-empty? Some files, such as markers, may be empty by design.

Are there checks beyond paths and sizes, such as page count, a signature or that a named reviewer can download it? Each needs its own evidence.

When did the run finish? GitHub keeps artifacts for 90 days by default, or for the repository's retention setting, after which they expire.
Try it on your own AI
A new question with a known answer, so you can check your AI gets it right.
-
Copy the questionVerify run 208, artifact handbook. Require guide.pdf non-empty. Return only JSON following the skill’s test format. run 208 succeeded, no artifact listing available archive handbook for run 207: guide.pdf | 4200 bytes
-
Ask your AI in a new chat
Give it this skill first, then paste the question. It replies with a short block of data in the format the skill asks for.
-
Show the answer and why
The earlier archive cannot establish which files exist in the requested run.
{
"status": "unavailable",
"missing": [],
"empty": []
}
The check runs in your browser. Nothing you paste is sent anywhere.
-
Copy the questionVerify run 80, artifact contract. Require non-empty final/agreement.pdf and checks P (exactly one page), S (signed), R (reviewer can download). Return only JSON following the skill’s test format. Correct archive retrieved by administrator. final/agreement.pdf | 3400 bytes. Inspection of that final PDF confirms one page and no required signature. No reviewer access record supplied.
-
Ask your AI in a new chat
Give it this skill first, then paste the question. It replies with a short block of data in the format the skill asks for.
-
Show the answer and why
The final file meets the path, size and page-count requirements. Its missing signature is confirmed. An administrator download leaves the reviewer’s access unverified.
{
"status": "incomplete",
"missing": [],
"empty": [],
"failed_checks": [
"S"
],
"unverified_checks": [
"R"
]
}
The check runs in your browser. Nothing you paste is sent anywhere.
Where the method comes from
Free to use and adapt with credit (CC BY 4.0).
Use this skill in Raq.com
Add it to your Skill Library and your agent applies it whenever a request matches. Edit it for your own business and keep every version.