Integrations & Tools
~8 min readUpdated: December 2026

SkillVec: Extracting Composable LLM Agent Skills via Weight-Space Editing

SkillVec Composable LoRA Skill Vectors via Weight-Space Editing Architecture

SkillVec (arXiv:2612.02295) extracts composable skill vectors directly from independently trained LoRA adapters through weight-space editing. By exploiting LoRA’s asymmetric B*A update structure to suppress sensitivity to common input directions and preserve consistent output directions, SkillVec composes skills via plain vector addition—scoring 70.5% (+9.2 pts over merging baselines) while retaining ~96% base capability.

Technical Review: Smoke Monkey Core Architecture Team
Tested on Node.js 18+ & BunTypeScript 5.x
Quick Answer & Executive Definition

SkillVec: Extracting Composable LLM Agent Skills via Weight-Space Editing: SkillVec (arXiv:2612.02295) extracts composable skill vectors directly from independently trained LoRA adapters through weight-space editing. By exploiting LoRA’s asymmetric B*A update structure to suppress sensitivity to common input directions and preserve consistent output directions, SkillVec composes skills via plain vector addition—scoring 70.5% (+9.2 pts over merging baselines) while retaining ~96% base capability. Designed as a zero-dependency, open-source TypeScript architecture under the MIT License with native Model Context Protocol (MCP) support and deterministic phase state machines.

Key Architectural Takeaways
Quick Implementation Exampleskillvec-adapter-router.ts
skillvec-adapter-router.tstypescript
import { createAgent } from '@smoke-monkey/harness';
// Route specialized task domains to a dynamically composed SkillVec LoRA adapter served via vLLM
const agent = createAgent({
agentId: 'skillvec-multiskill-operator',
provider: 'openai-compatible',
baseUrl: 'http://127.0.0.1:8000/v1',
model: 'skillvec-telecom-es', // Composed via addition of SkillVec(telecom) + SkillVec(spanish)
workspacePath: process.cwd(),
permissions: {
read_file: 'allow',
write_file: 'ask',
run_command: 'ask',
},
});
async function main() {
const result = await agent.run(
'Diagnose subscriber SIM provisioning failure via MCP telecom API and draft customer resolution in Spanish.'
);
console.log('SkillVec Composed Execution:', result.summary);
}
main().catch(console.error);
Video Guides

Watch: Related Video Guides

#319 LoRA on the Go: Instance-level Dynamic LoRA Selection and Merging

LoRA & QLoRA Fine-tuning Explained In-Depth

What Is SkillVec and Why Do Naive LoRA Merges Suffer Negative Interference?

SkillVec (arXiv:2612.02295) solves a fundamental bottleneck in modular agent specialization: when teams train separate LoRA adapters for distinct skills (e.g., SQL tool calling, telecom diagnostics, or Japanese fluency), naively summing their weights triggers destructive interference that degrades both task accuracy and general reasoning.

SkillVec exploits the asymmetric structure of LoRA updates (DeltaW = B * A) to extract each skill independently: it removes sensitivity to shared high-variance input directions (nulling interference in A) and, when multiple training seeds exist, retains output directions in B learned consistently across runs. The resulting skill vectors compose cleanly via plain addition across six open-weight base LLMs:

Composition Method6-Skill Composition AvgDelta vs Merging BaselineGeneral Knowledge Retention
SkillVec (Weight-Space Editing)70.5%+9.2 points~96% of base LLM
Strongest Merging Baseline61.3%BaselineLower (interference drift)
Joint Multitask Training (Telecom + Lang)Below SkillVec joint successRequires full data poolingExpensive retraining per skill

Extracting and Serving Composed LoRA Adapters in Production Pipelines

Because SkillVec outputs standard low-rank weight deltas compatible with peft and Hugging Face Safetensors, once you compose a target combination (for example telecom_tools + multilingual_es), you can serve the resulting adapter dynamically behind vLLM's multi-LoRA router with zero extra inference latency.

Verify base-model compatibility, project out shared activation subspaces, and register the composed adapter cleanly:

bash
# 1. Inspect adapter rank and module targets across independent LoRA checkpoints
python3 - <<'PY'
import json
for name in ["lora_telecom", "lora_multilingual"]:
    cfg = json.load(open(f"./adapters/{name}/adapter_config.json"))
    print(name, "r=", cfg["r"], "alpha=", cfg["lora_alpha"], "targets=", cfg["target_modules"])
PY

# 2. Serve composed SkillVec adapter via vLLM multi-LoRA endpoint
vllm serve Qwen/Qwen3.5-8B \
  --enable-lora \
  --lora-modules skillvec-telecom-es=./adapters/skillvec_composed_telecom_es \
  --max-lora-rank 64 \
  --port 8000

Asymmetric Projection Preserves Tool Schemas

Because tool-calling adapters rely heavily on narrow output formatting directions while sharing input syntax with general text, removing common input directions while preserving consistent output directions stops schema corruption during merges.

Modular Weight Skills + Runtime Skill Files in Smoke Monkey

Modern agent platforms combine two complementary skill layers: runtime prompt/MCP skills (SKILL.md specifications and tool schemas) and parametric weight skills (SkillVec LoRA vectors). By keeping specialized domain LoRAs independent and composable via SkillVec addition, teams avoid retraining monolithic models every time a new enterprise integration or language requirement ships.

Google Search Questions & Answers

Frequently Asked Questions

Q:How does SkillVec make LoRA adapters composable without retraining?

SkillVec edits LoRA weight updates asymmetrically—removing sensitivity to common input directions and preserving consistent output directions across runs—so independent skill vectors combine cleanly via simple addition.

Q:What benchmark improvement does SkillVec achieve over existing merging methods?

Across six skills and six open-weight language models, SkillVec achieves a 70.5% average score, beating the strongest evaluated model-merging baseline by 9.2 points while retaining ~96% of base model performance.

Q:Can SkillVec compose a tool-calling skill and a language skill together?

Yes. The paper demonstrates that independently trained telecom-support tool skills and multilingual skills cooperate after addition, outperforming both merging baselines and joint multitask training.

Q:Does SkillVec require access to the other skills’ training datasets?

No. Each skill vector is extracted independently from its LoRA adapter (and optional multi-seed runs) and composed at weight space without pooling training datasets.

Related Alternatives & Comparisons

Related Architecture Guides

View all guides

Build with Smoke Monkey Harness

Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.

npm install smoke-monkey-harness