Agent Skillsomnigent-ai/omnigent › detect-framework

detect-framework

GitHub

分析用户现有Python代码中的导入语句,识别Agent框架(如Claude SDK、OpenAI Agents SDK等),并推荐对应的Omnigent执行器类型以进行集成。

omnigent/onboarding/agent/skills/detect-framework/SKILL.md omnigent-ai/omnigent

触发场景

用户希望将现有Agent代码集成到Omnigent平台 需要自动检测代码中使用的AI Agent框架

安装

npx skills add omnigent-ai/omnigent --skill detect-framework -g -y
更多选项

非标准路径

npx skills add https://github.com/omnigent-ai/omnigent/tree/main/omnigent/onboarding/agent/skills/detect-framework -g -y

不安装直接使用

npx skills use omnigent-ai/omnigent@detect-framework

指定 Agent (Claude Code)

npx skills add omnigent-ai/omnigent --skill detect-framework -a claude-code -g -y

安装 repo 全部 skill

npx skills add omnigent-ai/omnigent --all -g -y

预览 repo 内 skill

npx skills add omnigent-ai/omnigent --list

SKILL.md

Frontmatter
{
    "name": "detect-framework",
    "description": "Detect Python agent frameworks from code imports and map them to Omnigent executor types. Load when the user has existing agent code to integrate."
}

Framework Detection

When the user has existing Python code they want to integrate into Omnigent, detect the framework from import statements and recommend the appropriate executor type.

Detection Procedure

  1. Ask the user for the path to their agent code (or look for Python files in the current directory if filesystem access is enabled).

  2. Scan Python files for import patterns. Check in this priority order:

Import pattern Framework Executor type
import anthropic or from anthropic + agent patterns (e.g. Agent, tool, system prompt setup) Claude SDK claude_sdk
import openai or from openai + agents patterns (e.g. Agent, Runner, function_tool) OpenAI Agents SDK agents_sdk
from langgraph or import langgraph LangGraph Not natively supported yet
from deepagents or import deepagents DeepAgents Not natively supported yet
from langchain or import langchain LangChain Not natively supported yet
from crewai or import crewai CrewAI Not natively supported yet
from autogen or import autogen AutoGen Not natively supported yet
None of the above Unknown Not natively supported yet
  1. Report what you found and recommend the executor type.

What to generate for each executor type

llm (default — no existing code)

Generate a standard agent directory:

executor:
  type: llm  # or omit entirely (llm is the default)

claude_sdk

The user's Claude SDK code runs directly. Generate config that points to their entry module:

executor:
  type: claude_sdk

agents_sdk

The user's OpenAI Agents SDK code runs directly:

executor:
  type: agents_sdk

Asking about unsupported frameworks

If the user's framework is not natively supported, let them know:

  • Explain that Omnigent does not currently have a supported executor for that framework.
  • Offer to show them a pre-filled GitHub issue URL requesting first-class support for their framework.
  • If they want to start fresh instead, recommend generating a standard llm agent.
  • The issue URL format: https://github.com/dbczumar/omnigent/issues/new?title=...&body=...

版本历史

  • a8f41cb 当前 2026-08-12 09:03

同 Skill 集合

.claude/skills/antigravity-sdk-e2e-dev/SKILL.md
.claude/skills/copilot-sdk-e2e-dev/SKILL.md
.claude/skills/cursor-sdk-e2e-dev/SKILL.md
.claude/skills/harness-integration-guide/SKILL.md
.claude/skills/pi-native-e2e-dev/SKILL.md
deploy/docker/SKILL.md
examples/debby/skills/debate/SKILL.md
examples/deep-research/skills/deep-research/SKILL.md
examples/polly/skills/cross-review/SKILL.md
examples/polly/skills/fanout/SKILL.md
examples/polly/skills/investigate/SKILL.md
examples/scribe/skills/api-docs/SKILL.md
examples/scribe/skills/changelog/SKILL.md
examples/scribe/skills/migration-guide/SKILL.md
examples/sentinel/skills/security-audit/SKILL.md
omnigent/onboarding/agent/skills/build-omnigent/SKILL.md
omnigent/onboarding/agent/skills/omnigent-knowledge/SKILL.md
.claude/skills/antigravity-native-e2e-dev/SKILL.md
.claude/skills/cli-setup-verify/SKILL.md
.claude/skills/polly-e2e-dev/SKILL.md
.claude/skills/run-load-test/SKILL.md

元信息

文件数
0
版本
86726e0
Hash
97d078ee
收录时间
2026-08-12 09:03

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-25 15:15
浙ICP备14020137号-1 $访客地图$