Skip to content
Back to skills

Gpi Action Selection

ASecurity

Select USFA transfer actions by generalized policy improvement over candidate policy encodings.

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
developmentpythonbash

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill gpi_action_selection --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gpi Action Selection?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gpi Action Selection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-gpi-action-selection/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-gpi-action-selection)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: gpi_action_selection
description: Select USFA transfer actions by generalized policy improvement over candidate policy encodings.
---

# GPI Action Selection

Use this skill when selecting actions for a new task `w` from conditioned successor features `psi(s,a,z)`. It preserves the candidate set `C` and reports the winning candidate for mechanism evidence.

## Inputs

- Target task weight `w`.
- Candidate encodings `C`.
- Action list.
- Successor-feature table for `(state, action, z)`.

## Outputs

- Selected action.
- Winning candidate encoding.
- Per-action and per-candidate score table.

## Workflow

1. For every action and candidate `z`, compute `psi(s,a,z)^T w`.
2. Keep the best candidate for each action.
3. Choose the action with the largest candidate-backed score.
4. Log the full score table so recovery can prove candidate search occurred.

## Validation

Run:

```bash
python tests/test_gpi.py
```

## Limitations

This skill does not estimate successor features. It requires a table or approximator supplied by upstream USFA components.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.