Agent skill

Finalize Zip Deliverable

by HKUDS in HKUDS/OpenSpace

Ensures codebase deliverables are properly archived into a ZIP file before marking task complete

MITAuto-check: notes

Install Finalize Zip Deliverable

skills CLI
$ npx skills add HKUDS/OpenSpace --skill finalize-zip-deliverable -a claude-code

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

GitHub CLI
$ gh skill install HKUDS/OpenSpace finalize-zip-deliverable --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/HKUDS/OpenSpace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/benchmarks/gdpval/skills/finalize-zip-deliverable .claude/skills/finalize-zip-deliverable && 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
finalize-zip-deliverable
GitHub stars
7.8k
Token cost
~1.5k tokens
SKILL.md length
740 words
Files
2
Skills in repo
199
Repo updated
First seen
Licence
MIT

At a glance

Ensures codebase deliverables are properly archived into a ZIP file before marking task complete

  • Works in 5 steps: Verify Project Completeness → Monitor Iteration Count (ONGOING) → Execute Archive Command → …
  • SKILL.md covers Early Warning System, Minimum Viable ZIP Fallback, Workflow Steps and 4. Mandatory Pre-Completion…, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Finalize Zip Deliverable is an agent skill from HKUDS/OpenSpace. Ensures codebase deliverables are properly archived into a ZIP file before marking task complete

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file.

The repository describes itself as: "OpenSpace: The Skill Management Layer for AI Agents" -- https://open-space.cloud/. The licence is MIT.

Example prompts

  • “Use the finalize-zip-deliverable skill to ensure codebase deliverables are properly archived into a ZIP file before marking task complete”
  • “/finalize-zip-deliverable”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Verify Project Completeness
  2. Monitor Iteration Count (ONGOING)
  3. Execute Archive Command
  4. Verify Artifact Creation
  5. Declare Completion

What it can do on your machine

Read from SKILL.md and the folder at commit 3827781. 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 bash).

    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

Finalize Zip Deliverable loads about 1.5k tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 740 words of instructions outside code blocks.

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

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:103
    **Missing Files:** Hidden files (e.g., `.env`, `.gitignore`) may need explicit inclusion depending on requirements.

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

The full file from HKUDS/OpenSpace at commit 3827781, republished under its MIT licence (© HKUDS). 740 words, ~1,510 tokens.

Download SKILL.mdSave it as .claude/skills/finalize-zip-deliverable/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
finalize-zip-deliverable
description
Ensures codebase deliverables are properly archived into a ZIP file before marking task complete

Finalize ZIP Deliverable

CRITICAL: This skill defines a MANDATORY workflow that MUST be executed before any task can be marked complete. Task completion is BLOCKED until ZIP verification passes.

Agents often assume that creating the project directory and files constitutes task completion. However, many tasks require a single downloadable artifact (ZIP file) for delivery. You are forbidden from declaring task completion until the ZIP artifact is created and verified.

ITERATION-AWARE PRIORITY: If the agent's iteration count approaches the task limit (e.g., iteration 25 of 30), ZIP creation MUST be elevated to highest priority. Do not continue adding features or refining code—execute the ZIP command immediately with whatever files exist.

Early Warning System

TRIGGER CONDITION: When iteration count reaches 25/30 (or 80% of any iteration limit), activate the following protocol:

  1. Immediately halt any non-essential code generation or refinement.
  2. Assess current state: List all files currently in the project directory.
  3. Execute minimum viable ZIP: Package whatever exists, even if incomplete.
  4. Document the fallback: Note in completion summary that ZIP was created as fallback due to iteration constraints.

RATIONALE: A partial ZIP deliverable is ALWAYS preferable to zero deliverable. Never exhaust iterations without creating the required artifact.

Minimum Viable ZIP Fallback

When triggered by the early warning system, execute this fallback procedure:

bash
# Create ZIP with whatever files currently exist
zip -r project_fallback.zip ./project/ 2>/dev/null || zip -r project_fallback.zip ./*

# Verify creation succeeded
ls -lh project_fallback.zip

Acceptable fallback scenarios:

  • ZIP contains partial codebase (better than nothing)
  • ZIP contains only configuration files
  • ZIP contains even a single source file

Unacceptable outcome: No ZIP file created due to iteration exhaustion.

Workflow Steps

1. Verify Project Completeness
0. Monitor Iteration Count (ONGOING)

Throughout task execution, track your iteration count relative to the task limit.

  • Normal operation (iterations 1-24 of 30): Follow standard workflow, building codebase systematically.
  • Warning zone (iterations 25-27 of 30): Begin preparing ZIP command; ensure project directory exists.
  • Critical zone (iterations 28-30 of 30): ZIP creation is the ONLY remaining task. Execute minimum viable ZIP fallback if necessary.

Before archiving, confirm that all intended source code, configuration files, and assets exist within the project directory.

  • Check that the root project directory exists.
  • Verify critical files (e.g., package.json, README.md, source files) are present.
  • Ensure no build artifacts or temporary files unintended for delivery are included (unless specified).
2. Execute Archive Command

Run the compression command explicitly as a dedicated action. Do not bundle this step with code generation.

bash
zip -r <output_filename>.zip <project_directory>/

Example:

bash
zip -r project.zip ./project
3. Verify Artifact Creation

Confirm the ZIP file was successfully created and is not empty.

  • Check file existence: ls -lh <output_filename>.zip
  • Check file size: Ensure the size is greater than 0 bytes.
  • Optionally inspect contents: unzip -l <output_filename>.zip
4. Declare Completion
Show full SKILL.md (315 more words)Show less

4. Mandatory Pre-Completion Checklist (BLOCKING)

BEFORE declaring task complete, you MUST verify all items below. Task completion is BLOCKED until this checklist passes:

  • All required source code and configuration files exist in the project directory ITERATION STATUS CHECK: If approaching iteration limit (≥25/30), execute ZIP fallback immediately regardless of project completeness.

  • All required source code and configuration files exist in the project directory (OR fallback triggered due to iteration limit)

  • zip -r <output_filename>.zip <project_directory>/ command has been executed

  • If in fallback mode, ZIP filename includes fallback suffix for clarity (e.g., project_fallback.zip)

  • ZIP file exists at the expected path (verify with ls -lh <output_filename>.zip)

  • ZIP file size is greater than 0 bytes

  • ZIP contents have been inspected (optional but recommended: unzip -l <output_filename>.zip)

COMPLETION RULE: The zip command MUST be executed as the FINAL step before any <COMPLETE> declaration. Never declare completion after file generation without first creating and verifying the ZIP artifact.

ITERATION OVERRIDE RULE: If iteration count ≥25/30, the ZIP command becomes the IMMEDIATE next action, superseding all other pending work.

FAILURE CONSEQUENCE: Declaring task complete without ZIP verification = task failure. Directory creation alone does NOT equal deliverable completion. CRITICAL FAILURE: Exhausting all iterations without ZIP creation = complete task failure regardless of code quality.

Common Pitfalls

  • Assuming Completion: Stopping after writing the last source file without packaging.
  • Wrong Path: Zipping the parent directory instead of the project directory, or vice versa.
  • Missing Files: Hidden files (e.g., .env, .gitignore) may need explicit inclusion depending on requirements.
  • Tool Availability: Ensure the zip utility is available in the execution environment. If not, install it or use an alternative (e.g., tar).
  • Iteration Exhaustion: Failing to monitor iteration count and running out of budget before ZIP creation.

Checklist

  • Project directory contains all required files.
  • Iteration count checked; if ≥25/30, fallback ZIP executed immediately.
  • zip command executed successfully.
  • ZIP file exists and has non-zero size.
  • Task status updated to complete.

© HKUDS, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in benchmarks/gdpval/skills/finalize-zip-deliverable of HKUDS/OpenSpace.

  • SKILL.md
  • .skill_id

Open the folder on GitHubat commit 3827781

Compare with similar skills

Finalize Zip Deliverable 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.

Finalize Zip Deliverable compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Finalize Zip Deliverable this skillHKUDS/OpenSpace7.8k—~1.5kAutomated safety check: NotesMIT
CTF ZIP Archive Key Recoveryzhaoxuya520/reverse-skill40k1 repos~1.5kAutomated safety check: PassMIT
OpenSpec Bulk Change ArchiverFission-AI/OpenSpec71k2 repos~5.6kAutomated safety check: PassMIT
Finalize Agent Promptgithub/awesome-copilot40k1 repos~224Automated safety check: PassMIT
Implementation Final Reviewopenai/openai-agents-python30k—~2kAutomated safety check: PassMIT
Zip Formatadamhathcock/sharpcompress2.6k—~613Automated safety check: PassMIT

Similar skills

  • CTF ZIP Archive Key Recovery

    zhaoxuya520/reverse-skill

    Recovers internal keys from legacy ZipCrypto-protected ZIP archives in CTF challenges through a known-plaintext method, instead of brute force.

    40k GitHub starsUsed in 1 repo~1.5k tokens
    SecurityAuto-check passed
  • Archives several completed OpenSpec changes in one operation, checking the codebase to resolve spec conflicts rather than archiving blindly.

    71k GitHub starsUsed in 2 repos~5.6k tokens
    DevelopmentAuto-check passed
  • Finalize Agent Prompt

    github/awesome-copilot

    Official

    Finalize prompt file using the role of an AI agent to polish the prompt for the end user.

    40k GitHub starsUsed in 1 repo~224 tokens
    Auto-check passed
  • Implementation Final Review

    openai/openai-agents-python

    Official

    Review completed implementation changes before final verification.

    30k GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check passed
  • Zip Format

    adamhathcock/sharpcompress

    Reference the ZIP/ZIP64/PKWARE APPNOTE archive container format.

    2.6k GitHub stars~613 tokensUpdated today
    Auto-check passed
  • Conversation Archive

    garrytan/gbrain

    Import AI-assistant chat exports (ChatGPT, Claude, Perplexity) and agent session transcripts into the brain as one dated page per conversation under conversations/, validate each page against the…

    31k GitHub stars~5.6k tokensUpdated today
    Productivity & AutomationAuto-check passed

More from HKUDS/OpenSpace

All 199 skills in this repo
  • Walks through producing a master audio track plus stems in Python, from checking a reference file and timing sections by BPM to effects, a zip archive and final verification.

    7.8k GitHub stars~2.9k tokensUpdated 1 mo ago
    Auto-check passed
  • Handle cascading data retrieval tool failures by falling back to embedded knowledge generation

    7.8k GitHub stars~765 tokensUpdated 1 mo ago
    Auto-check passed
  • Gives an agent a workaround when its code-execution sandbox keeps failing: save the Python script to a file and run it through the shell instead.

    7.8k GitHub stars~588 tokensUpdated 1 mo ago
    Auto-check passed
  • A recovery routine for agents whose sandboxed code runner keeps failing: save the Python script to disk, then run it through the shell and read the output.

    7.8k GitHub stars~652 tokensUpdated 1 mo ago
    Auto-check passed
  • Fallback ladder for failed sandboxed code runs, plus the habit of fixing the working directory first so generated files land in the right place.

    7.8k GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Fallback workflow for executing Python code when executecodesandbox fails repeatedly

    7.8k GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Finalize Zip Deliverable

What does Finalize Zip Deliverable do?

Ensures codebase deliverables are properly archived into a ZIP file before marking task complete. Finalize Zip Deliverable is an agent skill from HKUDS/OpenSpace.

How do I install Finalize Zip Deliverable in Claude Code?

Run `npx skills add HKUDS/OpenSpace --skill finalize-zip-deliverable -a claude-code`. Or copy the skill folder (benchmarks/gdpval/skills/finalize-zip-deliverable in HKUDS/OpenSpace) into .claude/skills/finalize-zip-deliverable in your project. Claude Code loads it when a task matches its description.

How do I install Finalize Zip Deliverable in Codex?

Run `npx skills add HKUDS/OpenSpace --skill finalize-zip-deliverable -a codex`. Or copy the skill folder (benchmarks/gdpval/skills/finalize-zip-deliverable in HKUDS/OpenSpace) into .agents/skills/finalize-zip-deliverable in your project. Codex loads it when a task matches its description.

Can I use Finalize Zip Deliverable 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 HKUDS/OpenSpace --skill finalize-zip-deliverable -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/finalize-zip-deliverable, .gemini/skills/finalize-zip-deliverable, .github/skills/finalize-zip-deliverable and .opencode/skills/finalize-zip-deliverable in your project.

What does Finalize Zip Deliverable need to run?

SKILL.md names no scripts, command-line tools or credentials: Finalize Zip Deliverable is instructions for the agent only.

Does Finalize Zip Deliverable 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 Finalize Zip Deliverable safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Finalize Zip Deliverable use?

Finalize Zip Deliverable is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Finalize Zip Deliverable use?

About 1.5k tokens (SKILL.md is roughly 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 Finalize Zip Deliverable?

Skills that share tags, products or a category with Finalize Zip Deliverable: CTF ZIP Archive Key Recovery (zhaoxuya520/reverse-skill, 40k stars), OpenSpec Bulk Change Archiver (Fission-AI/OpenSpec, 71k stars), Finalize Agent Prompt (github/awesome-copilot, 40k stars) and Implementation Final Review (openai/openai-agents-python, 30k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Finalize Zip Deliverable?

HKUDS (a GitHub organization) maintains it in HKUDS/OpenSpace, which has 7,750 GitHub stars. The repository holds 199 skills in this directory. The repository was last updated on August 12, 2026.

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