Skip to content
Development
Skill

/latent-space-engineering

Shapes agent behavior via instruction framing and style transfer. Use when composing dispatch prompts or writing skill instructions for parallel review agents.

From plugin
claude-night-market
343200 skills60 agents162 commands1 MCP

Claude Code

$ npx -y skills add athola/claude-night-market --skill latent-space-engineering --agent claude-code

SKILL.md

latent-space-engineering.SKILL.md
name: latent-space-engineering
description: Shapes agent behavior via instruction framing and style transfer. Use when composing dispatch prompts or writing skill instructions for parallel review agents.
alwaysApply: false
category: methodology
tags:
  - prompt-engineering
  - agent-behavior
  - instruction-framing
  - style-transfer
  - review-optimization
progressive_loading: true
dependencies:
  hub: []
  modules:
    - modules/emotional-framing.md
    - modules/style-gene-transfer.md
    - modules/competitive-review.md
    - modules/named-register-invocation.md
complexity: basic
estimated_tokens: 300

Latent Space Engineering

Shape agent behavior by framing instructions for optimal performance. Distinct from context engineering (packing the right information), this skill addresses HOW instructions are framed to put agents in productive mental states.

When To Use

  • Composing agent dispatch prompts
  • Writing skill instructions that guide behavior
  • Dispatching 3+ parallel review agents
  • Generating code or documentation that must match

an existing style

When NOT To Use

  • Packing factual context (use context-optimization)
  • Simple single-shot tasks with no behavioral nuance
  • Tasks where instruction tone is irrelevant

Core Techniques

1. Emotional Framing

Replace threat-based prompting with calm, confident instructions. Fear-based prompts cause rushing and corner-cutting.

**Load module**: `modules/emotional-framing.md`

2. Style Gene Transfer

Inject exemplar code or prose into context before requesting output. Agents reproduce stylistic attributes from pre-loaded samples.

**Load module**: `modules/style-gene-transfer.md`

3. Competitive Review

Frame multi-agent review dispatch with competitive incentives to increase rigor and thoroughness.

**Load module**: `modules/competitive-review.md`

4. Named Register Invocation

Name a published standard to pull a whole writing register into output at a cost of one line. Cheaper than exemplar injection and coarser, with a known mid-session decay.

**Load module**: `modules/named-register-invocation.md`

Quick Reference

| Technique | When | Module | |-----------|------|--------| | Emotional framing | Any agent prompt | emotional-framing | | Style gene transfer | Code/doc generation | style-gene-transfer | | Competitive review | 3+ parallel reviewers | competitive-review | | Named register | Operator or procedural text | named-register-invocation |

Writing for the Delegate

Framing shapes a delegate's output as much as it shapes a model's prose. Before dispatching, establish what model the delegate runs, what tools it has, and what project context it lacks, then write the prompt as a proposal rather than a procedure.

See `modules/know-your-delegate.md`.

Exit Criteria

  • [ ] When a named register is invoked (for example ASD-STE100),

a deterministic check verifies the register held, per `modules/named-register-invocation.md`

  • [ ] Dispatch prompts contain no threat-based language ("you must",

"don't fail", "or else"); replaced with calm, confident framing per `modules/emotional-framing.md`

  • [ ] When generating code or docs to match an existing style, at

least one exemplar sample is injected into context before the output is requested (style gene transfer applied)

  • [ ] When 3+ parallel review agents are dispatched, each agent

prompt includes a competitive framing element per `modules/competitive-review.md`

  • [ ] The correct technique module is loaded for the task type;

irrelevant modules are not loaded (token efficiency maintained)

Read more
@athola
Ships withclaude-night-market

A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.

343200 skills60 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
343
Star history of athola/claude-night-market on GitHub, a chart by star-history.com

Other skills on claude-night-market.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about latent-space-engineering.

Which coding agents can use latent-space-engineering?
latent-space-engineering installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.