# Singularity for Codex CLI / IDE / local skills

Extract `clients/codex/singularity-codex.zip`. Copy its `singularity/` directory into the user skill directory `~/.agents/skills/`, or a chosen repository's `.agents/skills/`. Inspect any existing same-name skill before copying; do not overwrite it blindly. Keep `agents/openai.yaml` alongside `SKILL.md`. Reload/restart if it does not appear, then select it through `/skills` or type `$singularity` with your question, for example `$singularity What context is relevant to this decision?` Add exact library file/folder paths when wanted.

Codex documents these paths and `policy.allow_implicit_invocation: false` for explicit-only use. That policy is Codex-specific. This package does not claim a universal hosted ZIP installer or a guarantee of successful retrieval. [Official skill documentation](https://learn.chatgpt.com/docs/build-skills).

## One-time connection

Use the already configured Syngularity connection where available. Otherwise configure the existing deployment's `/mcp` endpoint as Streamable HTTP, with `Authorization: Bearer` followed by the API-key secret, using the host's protected connection/credential settings. Obtain the deployment address and key from your own application; none are shipped here. Do not put a real key in the skill, command file, chat, or an exported package.

Skill installation and connector authentication are separate. Enable the connector in the conversation and confirm its tool list includes logical `get_memory_map` and `read_memory` operations. Host prefixes may differ. One shared full-access key is compatible with this package; access remains whatever the existing backend allows. The retrieval instructions do not authorize mutation. Where available, a host read-tool allowlist is an optional additional boundary, not a change to Syngularity permissions.

## Validation status

Package syntax, archive contents, and workflow consistency were checked. Client setup is documented in the linked official sources. No client import, authentication, or live retrieval was tested. Inspect any existing same-name files before copying; preserve your other settings. Skill instructions authorize reads only and do not change the configured key permissions.
