Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

penguiflow-reactplanner-config

БесплатноБез исполняемых скриптовНе проверен

Configure PenguiFlow ReactPlanner in production codebases (native LLM adapter, tool discovery + deferred activation, skills packs, allowlists/visibility…

hurtenerот hurtener★ 27 звёзд на GitHub

Об этом скилле

PenguiFlow ReactPlanner Config (Enterprise)

Use this skill when you need to wire, audit, or harden a ReactPlanner integration:

  • Enable the native LLM layer (use_native_llm=True) and keep JSON schema mode reliable.
  • Explain or rollout the built-in reflection loop for post-answer quality control via penguiflow-reflection-loop.
  • Turn on tool discovery (tool_search/tool_get) with deferred tool activation.
  • Enable skills (skill_search/skill_get/skill_list) and keep them safe under allowlists.
  • Wire runtime skills providers (skills_provider / skills_provider_factory) for persona- or request-scoped skills.
  • Optionally enable draft-only skill authoring with skill_propose.
  • Enforce tool allowlists / per-tenant visibility without breaking discovery.
  • Expose agents over A2A inside an existing FastAPI app using router-first integration.
  • (Optional) Enable rich output tools and background tasks safely.

For copy/paste-ready templates and a full “golden config”, read:

  • references/reactplanner-config-templates.md
    • Includes thinking effort (reasoning_effort), budgeting (deadline_s/hop_budget/token_budget), HITL (pause/resume + state_store), steering, and background tasks (tasks.*).
    • Includes pre-flight llm_context_hooks pattern for injecting external memory context.

Workflow (do this in order)

1) Find the single source of truth for planner config

  • Locate where ReactPlanner(...) is constructed (often a factory like build_planner() or AppConfig.planner()).
  • Consolidate planner knobs into one place (avoid sprinkling params across call sites).
  • If your app is multi-tenant or session-based, ensure you have a stable session_id you can pass in tool_context.

2) Turn on the native LLM adapter (recommended default for 2.x)

  • Set use_native_llm=True.
  • Pass llm as either a string (e.g. "openai/gpt-4o") or a dict with credentials:
    • {"model": "openai/gpt-4o", "api_key": "...", "base_url": "..."}.
  • Keep json_schema_mode=True and temperature=0.0 for planner stability.

3) Enable tool discovery + deferred activation (so prompts stay small)

Use ToolSearchConfig(enabled=True, default_loading_mode=DEFERRED, activation_scope="session") and require:

  • tool_context["session_id"] is present for every run() / resume() call (string).
  • An always-visible tool set stays visible even when most tools are deferred.

Always-visible tools (best practice; keep visible and allowed):

  • Discovery: tool_search, tool_get
  • Skills: skill_search, skill_get, skill_list
  • Common: finish
  • Rich output (only if enabled): see penguiflow-rich-output for the full always-visible set.

Scoping discovery without rewriting the query (optional):

  • tool_search(args={"query": "send", "tags": ["mail", "write"]}) — AND match against the tool's declared tags (auto-expanded name tokens are ignored by this filter).
  • tool_search(args={"query": "send", "namespace": "microsoft_365"}) — match tools whose name equals the namespace or starts with <namespace>.. Dot-prefix only; _ and : are not separators.
  • Filters compose as AND with each other, with the query, and with task_type (skills). Empty defaults preserve legacy behavior.
  • skill_search accepts the same tags / namespace args with identical semantics.

4) Enforce allowlists without breaking discovery (ToolPolicy + ToolVisibilityPolicy)

Use both layers when needed:

  • ToolPolicy (planner init): coarse, global allow/deny list and tag requirements.
  • ToolVisibilityPolicy (per run()): dynamic filtering per tenant/user/request without rebuilding the planner.

Hard rule: if you apply a visibility policy, it must still include the always-visible tools listed above, or the planner will lose discovery/skills mid-run.

5) Enable Skills (PenguiFlow skills subsystem)

  • Configure SkillsConfig(enabled=True, skill_packs=[...], redact_pii=True, top_k=...).
  • Ensure skills packs are loaded at planner init (they are when SkillsConfig.enabled=True).
  • In multi-tenant apps, pass tenant_id / project_id in tool_context so skills scope filtering works as intended.
  • For runtime/persona skills, pass skills_provider=... or skills_provider_factory=... into ReactPlanner(...).
  • Runtime providers are Python API only; they compose with local packs, and runtime skills win on name collisions.
  • Skills can declare applicability metadata:
    • required_tool_names
    • required_namespaces
    • required_tags
  • Applicability is enforced against the request's allowed capability set, so skills only surface when the matching tools/namespaces/tags are active.

5a) Draft new skills safely (optional)

  • Enable SkillsConfig(..., proposal={"enabled": True}) to expose skill_propose.
  • skill_propose drafts a structured skill only; it does not persist anything.
  • Keep persistence/review in the host product (for examp
Полный SKILL.md на GitHub

Установить penguiflow-reactplanner-config в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.DS_Storeagents/openai.yamlreferences/reactplanner-config-templates.md

FAQ

Что делает скилл penguiflow-reactplanner-config?

Configure PenguiFlow ReactPlanner in production codebases (native LLM adapter, tool discovery + deferred activation, skills packs, allowlists/visibility policies, rich output, A2A router integration, guardrails, and background tasks) with safe defaults and troubleshooting.

Как установить скилл penguiflow-reactplanner-config?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл penguiflow-reactplanner-config запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить penguiflow-reactplanner-config с