Skip to content
Back to skills

Parallel Actor Critic

ASecurity

"Guides minimalRL A2C and A3C multiprocessing actor-critic

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
businesspythonbashdebuggingapi

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill parallel-actor-critic --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Parallel Actor Critic?

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

Security grade badge for Parallel Actor Critic
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-parallel-actor-critic/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-parallel-actor-critic)

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

Download with Pro
SKILL.md
---
name: parallel-actor-critic
description: "Guides minimalRL A2C and A3C multiprocessing actor-critic
  workflows, Gym API migration, and safe process debugging."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Parallel Actor-Critic Workflows

Use this sub-skill when a task asks about minimalRL's A2C or A3C scripts, especially synchronous vector rollouts, asynchronous workers, shared models, process lifecycle, or Gym API modernization.

## Route by task

- **A2C / synchronous vector rollout**: read [references/api-reference.md](references/api-reference.md) for `ParallelEnv`, `worker`, and `compute_target`; read [references/workflows.md](references/workflows.md) for the update sequence.
- **A3C / asynchronous global-local training**: use [references/workflows.md](references/workflows.md) for shared model and local gradient flow, then [references/troubleshooting.md](references/troubleshooting.md) for worker hangs or missing gradients.
- **Gym 0.26 migration**: read the migration section in [references/workflows.md](references/workflows.md) before running either full native script.
- **Safe preflight checks**: run [scripts/smoke_parallel_actor_critic.py](scripts/smoke_parallel_actor_critic.py), which avoids full training and unbounded process spawning.

## Do not use this sub-skill for

- Single-process REINFORCE, actor-critic, PPO, PPO-LSTM, or V-trace network/update basics; use [../on-policy-discrete/SKILL.md](../on-policy-discrete/SKILL.md).
- DQN, ACER, or replay/off-policy correction; use [../off-policy-value/SKILL.md](../off-policy-value/SKILL.md).
- DDPG, continuous PPO, or SAC; use [../continuous-control/SKILL.md](../continuous-control/SKILL.md).

## Quick operating workflow

1. Decide whether the user wants A2C's synchronous vectorized rollout or A3C's asynchronous worker updates.
2. Check [references/api-reference.md](references/api-reference.md) for exact actor-critic, worker, and target-return contracts.
3. If using modern Gym, apply the reset/step/seed migration in [references/workflows.md](references/workflows.md) before running full training.
4. Run a bounded smoke check:

   ```bash
   python sub-skills/parallel-actor-critic/scripts/smoke_parallel_actor_critic.py --check all
   ```

5. For deadlocks, tuple arity failures, gradient-copy bugs, or CPU oversubscription, read [references/troubleshooting.md](references/troubleshooting.md).

## Bundled runtime files

- [references/api-reference.md](references/api-reference.md) records A2C/A3C classes, functions, hyperparameters, worker protocol, and tensor shapes.
- [references/workflows.md](references/workflows.md) explains synchronous and asynchronous actor-critic workflows plus Gym migration.
- [references/troubleshooting.md](references/troubleshooting.md) gives conservative process-debugging guidance.
- [scripts/smoke_parallel_actor_critic.py](scripts/smoke_parallel_actor_critic.py) validates model, target-return, and bounded protocol contracts without full training.

Files in this skill

  • SKILL.md2.9 KB
  • references/api-reference.md2.9 KB
  • references/troubleshooting.md2.6 KB
  • references/workflows.md2.6 KB
  • scripts/smoke_parallel_actor_critic.py3 KB

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.