Skip to content
Back to skills

Modules And Configuration

ASecurity

"Configure Tensorforce networks, layers, memories, policies,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
developmentpythonexpress

Works with

  • cli

Security analysis

A100/100

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

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill modules-and-configuration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Modules And Configuration?

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

Security grade badge for Modules And Configuration
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-modules-and-configuration/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-modules-and-configuration)

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: modules-and-configuration
description: "Configure Tensorforce networks, layers, memories, policies,
  objectives, optimizers, parameters, preprocessing, and config dictionaries."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Modules and Configuration

Use this sub-skill when a task asks how to express Tensorforce module specifications, choose network/layer/preprocessing/memory/objective/optimizer/policy/parameter components, translate JSON/dict configs, or debug unknown module `type` values.

## Route by need

- Read [module reference](references/module-reference.md) for registry names and where each module family is used.
- Read [network and layer recipes](references/network-and-layer-recipes.md) for `network='auto'`, layered networks, register/retrieve DAGs, preprocessing, and Keras-layer boundaries.
- Run [scripts/inspect_module_registry.py](scripts/inspect_module_registry.py) in the user's Tensorforce environment to print installed registry names.
- Use [troubleshooting](references/troubleshooting.md) for unknown module names, invalid shorthand, shape issues, TensorFlow Addons/Keras surprises, or debug/eager mode confusion.

## Boundaries

This sub-skill owns configuration shape and component selection. Route agent lifecycle, action masks, and `act`/`observe` loops to [agents-and-specifications](../agents-and-specifications/SKILL.md); route environment state/action discovery to [environments-and-interaction](../environments-and-interaction/SKILL.md); route full training loops to [runner-and-cli-workflows](../runner-and-cli-workflows/SKILL.md).

## Minimal pattern

```python
agent = dict(
    agent='ppo',
    network=[dict(type='dense', size=64, activation='tanh')],
    batch_size=10,
    update_frequency=2,
    learning_rate=3e-4,
    baseline=dict(type='auto', size=32, depth=1),
    state_preprocessing='linear_normalization',
    config=dict(device='CPU', seed=7),
)
```

Before a long run, instantiate the agent with the target environment and call `agent.get_specification()` or `agent.get_architecture()` to verify Tensorforce accepted the config.

Files in this skill

  • SKILL.md2.1 KB
  • references/module-reference.md2.2 KB
  • references/network-and-layer-recipes.md1.8 KB
  • references/troubleshooting.md1.3 KB
  • scripts/inspect_module_registry.py1.9 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…