360 Secure SkillHub
360 安全技能中心

latent-space-engineering

面向提示工程与智能体行为引导的方法型技能:提供情绪化框定、风格基因迁移、竞争式评审、命名语域调用和委派者认知等模块,用于编写派发提示、技能指令,以及按既有风格生成代码或文档。

分类:开发
athola
athola
热度 43.67
最近更新 2026-12-01 08:24:08

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add athola/nm-imbue-latent-space-engineering
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
latent-space-engineering
description
Shapes agent behavior via instruction framing and style transfer
version
1.10.3
triggers
["prompt-engineering","agent-behavior","instruction-framing","style-transfer","review-optimization","composing dispatch prompts or writing skill instructions for parallel review agents"]
metadata
{"openclaw":{"homepage":"https://github.com/athola/claude-night-market/tree/master/plugins/imbue","emoji":"🦞"}}
source
claude-night-market
source_plugin
imbue

Night Market Skill: ported from claude-night-market/imbue. For the full experience with agents, hooks, and commands, install the Claude Code plugin.

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)