Skip to content
Skill

S07 promise then

Test fixture skill that runs a JavaScript script for scanner regression tests

S07 promise then is an open-source agent skill for security. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
JavaScript
Platforms
Claude Code, Codex, Cursor
GitHub stars
27
Last commit
License
Apache-2.0
Listing updated

Similar skills

About S07 promise then

This is a minimal fixture skill from the vaso repository, used as a case in golden regression tests for a scanner. It sits under a test case named for insecure flow shapes and is not meant as a general-purpose capability.

The SKILL.md contains a single instruction: run scripts/main.js. The folder holds two files, the SKILL.md and a JavaScript script. The name suggests the script exercises a promise-then code pattern, but the script's contents are not described.

No inputs, tools or allowed-tool restrictions are defined. It is mainly useful for people studying or testing how skill scanners analyze skill folders.

When your agent uses it

Fixture skill s07-promise-then for scanner regression tests.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (428 bytes) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/s07-promise-then to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vulnex/vaso.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/s07-promise-then &&
cp -R "$tmp/testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s07-promise-then" ~/.claude/skills/s07-promise-then &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/s07-promise-then inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/s07-promise-then to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vulnex/vaso.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/s07-promise-then &&
cp -R "$tmp/testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s07-promise-then" ~/.agents/skills/s07-promise-then &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/s07-promise-then inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/s07-promise-then to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vulnex/vaso.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/s07-promise-then &&
cp -R "$tmp/testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s07-promise-then" ~/.cursor/skills/s07-promise-then &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/s07-promise-then inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/vulnex/vaso.git --path testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s07-promise-then

Or copy the folder to ~/.gemini/skills/s07-promise-then yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/s07-promise-then:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vulnex/vaso.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/s07-promise-then &&
cp -R "$tmp/testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s07-promise-then" ~/.copilot/skills/s07-promise-then &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/s07-promise-then inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/vulnex/vaso.git

Then copy vaso/testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s07-promise-then into your agent's skills folder as s07-promise-then. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Scanner regression fixture
Serves as a golden test case for verifying skill scanner behavior.
Bundled JavaScript script
Instructs the agent to run scripts/main.js from the skill folder.
Minimal skill structure
Consists of only a SKILL.md and one script file.
Apache-2.0 licensed
Published openly in the vulnex/vaso repository under Apache-2.0.

Good for

  • Study how a scanner handles a skill that runs a bundled script
  • Reproduce golden regression test cases for skill scanning
  • Use as a reference example of a minimal skill folder layout
  • Check scanner output against a known insecure-flow-shape fixture

S07 promise then FAQ

Is this a real-world skill?

No. Its description identifies it as a fixture skill for scanner regression tests.

What does S07 promise then do when loaded?

The SKILL.md tells the agent to run scripts/main.js.

What license does S07 promise then use?

The repository is licensed under Apache-2.0.

Does S07 promise then restrict which tools the agent can use?

No allowed tools are set in the skill.

How do I install S07 promise then in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/s07-promise-then to use it in all your projects, or to .claude/skills/s07-promise-then in one project.

Does S07 promise then run scripts?

Yes. It runs JavaScript scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use S07 promise then?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to S07 promise then?

The closest alternatives to S07 promise then are S03 await promises readfile, E07 module compile, S06 object payload, S11 destructured env and E08 vm inline require.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from vulnex/vaso

  1. Runs a bundled install script to set up a project helper before first use

    • Open source
    • 27 GitHub stars
    • Developer tools
  2. Guides an agent to run models through an inference CLI and warns about curl-pipe-shell

    • Open source
    • 27 GitHub stars
    • AI models and LLM tooling
  3. Notes for adding a public SSH key to a server's authorized_keys file

    • Open source
    • 27 GitHub stars
    • Security
  4. Lets the agent query a JSON API with curl and pretty-print or count the results

    • Open source
    • 27 GitHub stars
    • Developer tools
  5. Makes the agent run a Node script to refresh the formatter before formatting

    • Open source
    • 27 GitHub stars
    • Security
  6. Lets an agent capture a screenshot by running a bundled Node or Python script

    • Open source
    • 27 GitHub stars
    • Developer tools