Skip to content
Back to skills

Setup Memory Core

ASecurity

"Bootstrap PyRIT setup, memory, registries, core models, and output

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

Works with

  • cli
  • api

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 setup-memory-core --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Setup Memory Core?

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

Security grade badge for Setup Memory Core
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-setup-memory-core/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-setup-memory-core)

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: setup-memory-core
description: "Bootstrap PyRIT setup, memory, registries, core models, and output
  helpers safely."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# PyRIT setup, memory, registry, and output core

Use this sub-skill when a task needs to start a PyRIT process, choose a memory backend, load configuration safely, inspect or register framework components, retrieve stored conversations/results, or render PyRIT objects. It is for PyRIT `1.1.0.dev0` and assumes normal Python imports from the installed `pyrit` package.

## Route here for

- Choosing between direct `initialize_pyrit_async(...)` and file-driven `initialize_from_config_async(...)`.
- Creating no-secret quick sessions with `InMemory` or temporary/local `SQLite` memory.
- Understanding `~/.pyrit/.pyrit_conf`, `.env`, `.env.local`, custom `env_files`, and Azure Key Vault references without committing secrets.
- Using `CentralMemory` after initialization and querying memory labels, conversations, scores, attack results, and scenario results.
- Inspecting PyRIT registries such as `ConverterRegistry`, `TargetRegistry`, `ScorerRegistry`, `InitializerRegistry`, and instance registries.
- Creating or checking core model objects (`MessagePiece`, `Message`, `Score`, `AttackResult`, identifiers, filters) needed by setup and memory workflows.
- Rendering attack results, conversations, scores, scorers, and scenario results with `pyrit.output` helpers and safe sinks.

## Route elsewhere

- Prompt target credentials, target-specific constructor parameters, scorer selection, rate limits, and live service verification: [targets-scorers](../targets-scorers/SKILL.md).
- Converter classes, converter stacks, seed datasets, dataset YAML/data schemas, and modality conversion: [converters-datasets](../converters-datasets/SKILL.md).
- Running attacks, scenarios, executors, techniques, concurrency, retry policies, and interpreting attack outcomes: [attacks-scenarios](../attacks-scenarios/SKILL.md).
- `pyrit_scan`, `pyrit_shell`, `pyrit_backend`, backend REST server configuration, and scanner command flags: [cli-backend-scanner](../cli-backend-scanner/SKILL.md).

## Start sequence

1. Decide the initialization path and memory backend using [references/setup-memory-registry.md](references/setup-memory-registry.md).
2. Check exact signatures and model fields in [references/api-reference.md](references/api-reference.md) before writing code.
3. If setup, registry, memory, or output fails, use [references/troubleshooting.md](references/troubleshooting.md) before changing credentials, database files, or registry names.
4. For a no-secret local import/API smoke check, run [scripts/setup_memory_smoke.py](scripts/setup_memory_smoke.py). The helper inspects installed APIs and can optionally construct lightweight in-memory/temporary objects; it never contacts external services.

## Safety defaults

- Prefer `InMemory` for examples, tests, and one-off agent work where persistence is not needed.
- Prefer a caller-owned SQLite path under a temporary or project-approved directory when persistence is needed. Do not silently reuse an old database when labels/results look stale.
- Treat Azure SQL memory as optional and credentialed; use only when the task explicitly requires shared database state and the caller has supplied the required environment.
- Do not print, log, commit, or copy real `.env` values. Use `.env.local` for personal overrides and placeholders in examples.
- Avoid loading default `~/.pyrit` files during no-secret checks; import and introspection are usually enough to validate package availability.

Files in this skill

  • SKILL.md3.6 KB
  • references/api-reference.md3.4 KB
  • references/setup-memory-registry.md11.3 KB
  • references/troubleshooting.md3.6 KB
  • scripts/setup_memory_smoke.py1.4 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.