penguiflow-reactplanner-config
БесплатноБез исполняемых скриптовНе проверенConfigure PenguiFlow ReactPlanner in production codebases (native LLM adapter, tool discovery + deferred activation, skills packs, allowlists/visibility…
от 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_hookspattern for injecting external memory context.
- Includes thinking effort (
Workflow (do this in order)
1) Find the single source of truth for planner config
- Locate where
ReactPlanner(...)is constructed (often a factory likebuild_planner()orAppConfig.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_idyou can pass intool_context.
2) Turn on the native LLM adapter (recommended default for 2.x)
- Set
use_native_llm=True. - Pass
llmas 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=Trueandtemperature=0.0for 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 everyrun()/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_searchaccepts the sametags/namespaceargs 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(perrun()): 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_idintool_contextso skills scope filtering works as intended. - For runtime/persona skills, pass
skills_provider=...orskills_provider_factory=...intoReactPlanner(...). - 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_namesrequired_namespacesrequired_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 exposeskill_propose. skill_proposedrafts a structured skill only; it does not persist anything.- Keep persistence/review in the host product (for examp
Установить penguiflow-reactplanner-config в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic