Skip to content
Back to skills

Usfa Policy Conditioning

ASecurity

Represent USFA policies with reward-weight encodings z and compute greedy policy actions under those 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 usfa_policy_conditioning --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Usfa Policy Conditioning?

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

Security grade badge for Usfa Policy Conditioning
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-usfa-policy-conditioning/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-usfa-policy-conditioning)

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

SKILL.md
---
name: usfa_policy_conditioning
description: Represent USFA policies with reward-weight encodings z and compute greedy policy actions under those encodings.
---

# USFA Policy Conditioning

Use this skill when a USFA recovery needs to condition successor-feature predictions on a policy encoding `z`. Do not use it to evaluate a target task over multiple candidates; the GPI skill owns that aggregation.

## Inputs

- Candidate policy encodings `z`.
- A successor-feature table keyed by state, action, and encoding.
- Action set and state.

## Outputs

- Canonical candidate encodings.
- `psi(s,a,z)` lookups.
- Greedy action under an encoded policy: `argmax_a psi(s,a,z)^T z`.

## Workflow

1. Build a deterministic candidate set from training, target, or sampled encodings.
2. Preserve each encoding as the policy identifier.
3. For Bellman bootstrapping, score each action with the same encoding `z`.
4. Return the greedy action and score table for audit logs.

## Validation

Run:

```bash
python tests/test_policy_conditioning.py
```

## Limitations

This skill assumes tabular or already-computed successor features. It does not train neural USFA approximators.

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.