# Byot E2E validation

> Byot E2E validation is an open-source agent skill for developer tools. Guides end-to-end tests of BYOT/AWID team-certificate auth with real keys and signatures. 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/awebai/aweb/tree/main/naapp/folio/skills/byot-e2e-validation
- **Repository:** https://github.com/awebai/aweb
- **GitHub stars:** 132
- **License:** MIT
- **Skill name:** byot-e2e-validation
- **Collection:** https://github.com/awebai/aweb
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill sets up and organizes end-to-end testing for apps that authenticate agents with AWID team certificates. It insists that the e2e layer use real keys, certificates, signatures and registry state rather than mocks, and it walks through provisioning them through the aw id CLI against a local awid-service running in Docker Compose.

The workflow covers the harness shape: starting Postgres, Redis and the registry service, creating isolated workspaces with their own home directories, creating teams and members, fetching certificates, and sending application requests with aw id request --team-auth instead of reimplementing signing in test code. It also documents a workaround where a minimal workspace binding file must be written so the CLI sees an active workspace.

A required negative suite is described, including missing envelopes, replayed requests, certificate revocation, registry outage with cache expiry, cross-team scoping and invalid UTF-8 bodies, all as hard assertions. Operational guidance covers teardown traps, clean Docker state and a single repeatable make command. The skill expects Docker, the aw CLI and pytest, and points to a reference harness in the source repository.

## When your agent uses it

> Use when writing e2e tests for BYOT/AWID team-certificate auth, testing aw id request --team-auth, building a docker awid-service harness, or validating replay, revocation, fail-closed, and team-scoping behavior.

## What it can access

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

- [Instructions only, no scripts](https://github.com/awebai/aweb/tree/HEAD/naapp/folio/skills/byot-e2e-validation)
- [License: MIT](https://github.com/awebai/aweb/tree/HEAD/naapp/folio/skills/byot-e2e-validation)

## Features

- **Real-credential e2e policy:** Rules that forbid mocked certificates, signatures or AWID responses in end-to-end auth tests.
- **Compose harness setup:** Guidance for starting Postgres, Redis and awid-service in Docker with isolated test workspaces.
- **CLI-based provisioning:** Steps to create identities, teams, members and certificates through the aw id commands.
- **Auth negative test suite:** Hard-asserted checks for missing envelopes, replay, revocation, outages and cross-team access.
- **Repeatable e2e operations:** Advice on teardown traps, health waits and a single make target that runs cleanly from a dirty state.

## Good for

- Write e2e tests for team-certificate auth in an agent-facing app
- Set up a Docker awid-service harness for local auth testing
- Verify that revoked certificates fail closed after the auth cache refreshes
- Check that replayed signed requests are rejected on other paths or methods
- Confirm that one team cannot read or write another team's documents

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/byot-e2e-validation` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awebai/aweb.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/byot-e2e-validation &&
cp -R "$tmp/naapp/folio/skills/byot-e2e-validation" ~/.claude/skills/byot-e2e-validation &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/byot-e2e-validation` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/byot-e2e-validation` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awebai/aweb.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/byot-e2e-validation &&
cp -R "$tmp/naapp/folio/skills/byot-e2e-validation" ~/.agents/skills/byot-e2e-validation &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/byot-e2e-validation` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/byot-e2e-validation` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awebai/aweb.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/byot-e2e-validation &&
cp -R "$tmp/naapp/folio/skills/byot-e2e-validation" ~/.cursor/skills/byot-e2e-validation &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/byot-e2e-validation` 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/awebai/aweb.git --path naapp/folio/skills/byot-e2e-validation
```

Or copy the folder to `~/.gemini/skills/byot-e2e-validation` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/byot-e2e-validation`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awebai/aweb.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/byot-e2e-validation &&
cp -R "$tmp/naapp/folio/skills/byot-e2e-validation" ~/.copilot/skills/byot-e2e-validation &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/byot-e2e-validation` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/awebai/aweb.git
```

Then copy `aweb/naapp/folio/skills/byot-e2e-validation` into your agent's skills folder as `byot-e2e-validation`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Byot E2E validation need to run?

It expects a Docker Compose setup with Postgres, Redis and awid-service, the aw CLI for provisioning, and a pytest-based e2e suite; the reference harness lives in the source repository.

### Does Byot E2E validation allow mocking certificates or signatures in e2e tests?

No. It states that e2e tests must use real keys, certificates, signatures and AWID responses, while unit tests may cover smaller parsing cases.

### Why should negative auth tests not be marked xfail?

Because an xfail on an auth failure can hide a regression back to 422, 500 or an auth bypass, so the skill requires hard assertions.

### How do I install Byot E2E validation in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/byot-e2e-validation to use it in all your projects, or to .claude/skills/byot-e2e-validation in one project.

### Does Byot E2E validation run scripts?

No. It is instructions only, with no scripts. 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 Byot E2E validation?

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 Byot E2E validation?

The closest alternatives to Byot E2E validation are Add E2E test, E2E testing, E2E playwright, Aweb team membership and E2E testing.

## Where this comes from

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

## Alternatives

- [Add E2E test](https://ai-powered.com/skills/add-e2e-test): Add E2E test is an open-source agent skill for developer tools.
- [E2E testing](https://ai-powered.com/skills/e2e-testing-fmarzochi): E2E testing is an open-source agent skill for developer tools.
- [E2E playwright](https://ai-powered.com/skills/e2e-playwright): E2E playwright is an open-source agent skill for developer tools.
- [Aweb team membership](https://ai-powered.com/skills/aweb-team-membership): Aweb team membership is an open-source agent skill for developer tools.
- [E2E testing](https://ai-powered.com/skills/e2e-testing): E2E testing is an open-source agent skill for developer tools.
- [E2E testing edho ferdian](https://ai-powered.com/skills/e2e-testing-edho-ferdian): E2E testing edho ferdian is an open-source agent skill for developer tools.
- [Integrated test](https://ai-powered.com/skills/integrated-test): Integrated test is an open-source agent skill for developer tools.
- [Ecc workflow](https://ai-powered.com/skills/ecc-workflow): Ecc workflow is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/byot-e2e-validation
