# S07 promise then

> S07 promise then is an open-source agent skill for security. Test fixture skill that runs a JavaScript script for scanner regression tests. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/vulnex/vaso/tree/main/testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s07-promise-then
- **Repository:** https://github.com/vulnex/vaso
- **GitHub stars:** 27
- **License:** Apache-2.0
- **Skill name:** s07-promise-then
- **Collection:** https://github.com/vulnex/vaso
- **Categories:** [security](https://ai-powered.com/categories/security), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs JavaScript scripts](https://github.com/vulnex/vaso/tree/HEAD/testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s07-promise-then)
- [Network calls found in its scripts](https://github.com/vulnex/vaso/tree/HEAD/testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s07-promise-then)
- [License: Apache-2.0](https://github.com/vulnex/vaso/tree/HEAD/testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s07-promise-then)

## Features

- **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

## Install

### Claude Code

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [S03 await promises readfile](https://ai-powered.com/skills/s03-await-promises-readfile): S03 await promises readfile is an open-source agent skill for security.
- [E07 module compile](https://ai-powered.com/skills/e07-module-compile): E07 module compile is an open-source agent skill for security.
- [S06 object payload](https://ai-powered.com/skills/s06-object-payload): S06 object payload is an open-source agent skill for security.
- [S11 destructured env](https://ai-powered.com/skills/s11-destructured-env): S11 destructured env is an open-source agent skill for security.
- [E08 vm inline require](https://ai-powered.com/skills/e08-vm-inline-require): E08 vm inline require is an open-source agent skill for security.
- [E04 member alias](https://ai-powered.com/skills/e04-member-alias): E04 member alias is an open-source agent skill for security.
- [S14 fetch alias](https://ai-powered.com/skills/s14-fetch-alias): S14 fetch alias is an open-source agent skill for security.
- [B08 upload user chosen file](https://ai-powered.com/skills/b08-upload-user-chosen-file): B08 upload user chosen file is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/s07-promise-then
