prefactor-skill-selector
Original:🇺🇸 English
Translated
Use when choosing which Prefactor SDK skill to load for agent instrumentation or for building a custom provider integration on top of @prefactor/core.
104installs
Added on
NPX Install
npx skill4agent add prefactordev/typescript-sdk prefactor-skill-selectorTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Prefactor Skill Selector
Use this file as a router for Prefactor skills.
Available Skills
- : bootstrap Prefactor resources for an existing agent using CLI (
skills/bootstrap-existing-agent-with-prefactor-cli/SKILL.md,profile,environment,agent) and prepare runtime env vars/package choice.agent_instance - : instrument an existing agent with Prefactor SDK so coding tools can see runs, llm/tool spans, token usage, and failures.
skills/instrument-existing-agent-with-prefactor-sdk/SKILL.md - : create a new provider package as a thin adapter over
skills/create-provider-package-with-core/SKILL.mdwith core-first boundaries and tracing conventions.@prefactor/core
Selection Rules
- If the request is about provisioning Prefactor resources via CLI for an existing app, load first.
skills/bootstrap-existing-agent-with-prefactor-cli/SKILL.md - If the request is about adding telemetry to an existing agent without rewriting business logic, load .
skills/instrument-existing-agent-with-prefactor-sdk/SKILL.md - If the request is about creating a custom provider adapter with , load
@prefactor/core.skills/create-provider-package-with-core/SKILL.md
Default Workflow
When instrumenting an existing agent, default to this order:
- Run to set up resources (
skills/bootstrap-existing-agent-with-prefactor-cli/SKILL.md,environment,agent).agent_instance - Install required Prefactor npm package(s) via the project's package manager.
- Choose the matching adapter package if available (,
@prefactor/langchain,@prefactor/ai).@prefactor/openclaw - For adapter-style instrumentation (or
@prefactor/langchain), keep@prefactor/ai,init, andwithSpanimports from that same adapter package (or pass an explicit tracer when using coreshutdown).withSpan - If no matching adapter package exists, use .
skills/create-provider-package-with-core/SKILL.md - Instrument the existing agent with .
skills/instrument-existing-agent-with-prefactor-sdk/SKILL.md