[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FMEQ28WFCND7EZ6YBZ8R33":3,"skill-same:01M6FMEQ28WFCND7EZ6YBZ8R33":76},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":6,"ownerHtmlUrl":54,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":55,"install":56,"resources":69},"01M6FMEQ28WFCND7EZ6YBZ8R33","ydc-openai-agent-sdk-integration",null,"Integrate OpenAI Agents SDK with You.com MCP server - Hosted and Streamable HTTP support for Python and TypeScript. Use when developer mentions OpenAI Agents SDK, OpenAI agents, or integrating OpenAI with MCP.","kbarbel640-del\u002Fskills","kbarbel640-del","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F255315490?v=4","01M6CJPPQGCCESXMG3K7BBGQ5J","01M6CJPPX2PB2BCZERFVM2C2B3",1,"MIT","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fedwardirby\u002Fydc-openai-agent-sdk-integration\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"integration","ydc openai agent sdk integration","agent sdk","openai","sdk","mcp server","support","web","http","search","MCP","server","node","use","web-search","with mcp","agents sdk","with","you","python","2026-11-10 10:12:30",false,"---\nname: ydc-openai-agent-sdk-integration\ndescription: Integrate OpenAI Agents SDK with You.com MCP server - Hosted and Streamable HTTP support for Python and TypeScript. Use when developer mentions OpenAI Agents SDK, OpenAI agents, or integrating OpenAI with MCP.\nlicense: MIT\ncompatibility: Python 3.10+ or Node.js 18+ with TypeScript\nmetadata:\n  author: youdotcom-oss\n  category: sdk-integration\n  version: \"1.0.0\"\n  keywords: openai,openai-agents,agent-sdk,mcp,you.com,integration,hosted-mcp,streamable-http,web-search,python,typescript\n---\n\n# Integrate OpenAI Agents SDK with You.com MCP\n\nInteractive workflow to set up OpenAI Agents SDK with You.com's MCP server.\n\n## Workflow\n\n1. **Ask: Language Choice**\n   * Python or TypeScript?\n\n2. **Ask: MCP Configuration Type**\n   * **Hosted MCP** (OpenAI-managed with server URL): Recommended for simplicity\n   * **Streamable HTTP** (Self-managed connection): For custom infrastructure\n\n3. **Install Package**\n   * Python: `pip install openai-agents`\n   * TypeScript: `npm install @openai\u002Fagents`\n\n4. **Ask: Environment Variables**\n\n   **For Both Modes:**\n   * `YDC_API_KEY` (You.com API key for Bearer token)\n   * `OPENAI_API_KEY` (OpenAI API key)\n\n   Have they set them?\n   * If NO: Guide to get keys:\n     - YDC_API_KEY: https:\u002F\u002Fyou.com\u002Fplatform\u002Fapi-keys\n     - OPENAI_API_KEY: https:\u002F\u002Fplatform.openai.com\u002Fapi-keys\n\n5. **Ask: File Location**\n   * NEW file: Ask where to create and what to name\n   * EXISTING file: Ask which file to integrate into (add MCP config)\n\n6. **Create\u002FUpdate File**\n\n   **For NEW files:**\n   * Use the complete template code from the \"Complete Templates\" section below\n   * User can run immediately with their API keys set\n\n   **For EXISTING files:**\n   * Add MCP server configuration to their existing code\n\n   **Hosted MCP configuration block (Python)**:\n   ```python\n   from agents import Agent, Runner\n   from agents.mcp import HostedMCPTool\n\n   # Validate: ydc_api_key = os.getenv(\"YDC_API_KEY\")\n   agent = Agent(\n       name=\"Assistant\",\n       instructions=\"Use You.com tools to answer questions.\",\n       tools=[\n           HostedMCPTool(\n               tool_config={\n                   \"type\": \"mcp\",\n                   \"server_label\": \"ydc\",\n                   \"server_url\": \"https:\u002F\u002Fapi.you.com\u002Fmcp\",\n                   \"headers\": {\n                       \"Authorization\": f\"Bearer {ydc_api_key}\"\n                   },\n                   \"require_approval\": \"never\",\n               }\n           )\n       ],\n   )\n   ```\n\n   **Hosted MCP configuration block (TypeScript)**:\n   ```typescript\n   import { Agent, hostedMcpTool } from '@openai\u002Fagents';\n\n   \u002F\u002F Validate: const ydcApiKey = process.env.YDC_API_KEY;\n   const agent = new Agent({\n     name: 'Assistant',\n     instructions: 'Use You.com tools to answer questions.',\n     tools: [\n       hostedMcpTool({\n        serverLabel: 'ydc',\n         serverUrl: 'https:\u002F\u002Fapi.you.com\u002Fmcp',\n         headers: {\n           Authorization: `Bearer ${ydcApiKey}`,\n         },\n       }),\n     ],\n   });\n   ```\n\n   **Streamable HTTP configuration block (Python)**:\n   ```python\n   from agents import Agent, Runner\n   from agents.mcp import MCPServerStreamableHttp\n\n   # Validate: ydc_api_key = os.getenv(\"YDC_API_KEY\")\n   async with MCPServerStreamableHttp(\n       name=\"You.com MCP Server\",\n       params={\n           \"url\": \"https:\u002F\u002Fapi.you.com\u002Fmcp\",\n           \"headers\": {\"Authorization\": f\"Bearer {ydc_api_key}\"},\n           \"timeout\": 10,\n       },\n       cache_tools_list=True,\n       max_retry_attempts=3,\n   ) as server:\n       agent = Agent(\n           name=\"Assistant\",\n           instructions=\"Use You.com tools to answer questions.\",\n           mcp_servers=[server],\n       )\n   ```\n\n   **Streamable HTTP configuration block (TypeScript)**:\n   ```typescript\n   import { Agent, MCPServerStreamableHttp } from '@openai\u002Fagents';\n\n   \u002F\u002F Validate: const ydcApiKey = process.env.YDC_API_KEY;\n   const mcpServer = new MCPServerStreamableHttp({\n     url: 'https:\u002F\u002Fapi.you.com\u002Fmcp',\n     name: 'You.com MCP Server',\n     requestInit: {\n       headers: {\n         Authorization: `Bearer ${ydcApiKey}`,\n       },\n     },\n   });\n\n   const agent = new Agent({\n     name: 'Assistant',\n     instructions: 'Use You.com tools to answer questions.',\n     mcpServers: [mcpServer],\n   });\n   ```\n\n## Complete Templates\n\nUse these complete templates for new files. Each template is ready to run with your API keys set.\n\n### Python Hosted MCP Template (Complete Example)\n\n```python\n\"\"\"\nOpenAI Agents SDK with You.com Hosted MCP\nPython implementation with OpenAI-managed infrastructure\n\"\"\"\n\nimport os\nimport asyncio\nfrom agents import Agent, Runner\nfrom agents.mcp import HostedMCPTool\n\n# Validate environment variables\nydc_api_key = os.getenv(\"YDC_API_KEY\")\nopenai_api_key = os.getenv(\"OPENAI_API_KEY\")\n\nif not ydc_api_key:\n    raise ValueError(\n        \"YDC_API_KEY environment variable is required. \"\n        \"Get your key at: https:\u002F\u002Fyou.com\u002Fplatform\u002Fapi-keys\"\n    )\n\nif not openai_api_key:\n    raise ValueError(\n        \"OPENAI_API_KEY environment variable is required. \"\n        \"Get your key at: https:\u002F\u002Fplatform.openai.com\u002Fapi-keys\"\n    )\n\n\nasync def main():\n    \"\"\"\n    Example: Search for AI news using You.com hosted MCP tools\n    \"\"\"\n    # Configure agent with hosted MCP tools\n    agent = Agent(\n        name=\"AI News Assistant\",\n        instructions=\"Use You.com tools to search for and answer questions about AI news.\",\n        tools=[\n            HostedMCPTool(\n                tool_config={\n                    \"type\": \"mcp\",\n                    \"server_label\": \"ydc\",\n                    \"server_url\": \"https:\u002F\u002Fapi.you.com\u002Fmcp\",\n                    \"headers\": {\n                        \"Authorization\": f\"Bearer {ydc_api_key}\"\n                    },\n                    \"require_approval\": \"never\",\n                }\n            )\n        ],\n    )\n\n    # Run agent with user query\n    result = await Runner.run(\n        agent,\n        \"Search for the latest AI news from this week\"\n    )\n\n    print(result.final_output)\n\n\nif __name__ == \"__main__\":\n    asyncio.run(main())\n```\n\n### Python Streamable HTTP Template (Complete Example)\n\n```python\n\"\"\"\nOpenAI Agents SDK with You.com Streamable HTTP MCP\nPython implementation with self-managed connection\n\"\"\"\n\nimport os\nimport asyncio\nfrom agents import Agent, Runner\nfrom agents.mcp import MCPServerStreamableHttp\n\n# Validate environment variables\nydc_api_key = os.getenv(\"YDC_API_KEY\")\nopenai_api_key = os.getenv(\"OPENAI_API_KEY\")\n\nif not ydc_api_key:\n    raise ValueError(\n        \"YDC_API_KEY environment variable is required. \"\n        \"Get your key at: https:\u002F\u002Fyou.com\u002Fplatform\u002Fapi-keys\"\n    )\n\nif not openai_api_key:\n    raise ValueError(\n        \"OPENAI_API_KEY environment variable is required. \"\n        \"Get your key at: https:\u002F\u002Fplatform.openai.com\u002Fapi-keys\"\n    )\n\n\nasync def main():\n    \"\"\"\n    Example: Search for AI news using You.com streamable HTTP MCP server\n    \"\"\"\n    # Configure streamable HTTP MCP server\n    async with MCPServerStreamableHttp(\n        name=\"You.com MCP Server\",\n        params={\n            \"url\": \"https:\u002F\u002Fapi.you.com\u002Fmcp\",\n            \"headers\": {\"Authorization\": f\"Bearer {ydc_api_key}\"},\n            \"timeout\": 10,\n        },\n        cache_tools_list=True,\n        max_retry_attempts=3,\n    ) as server:\n        # Configure agent with MCP server\n        agent = Agent(\n            name=\"AI News Assistant\",\n            instructions=\"Use You.com tools to search for and answer questions about AI news.\",\n            mcp_servers=[server],\n        )\n\n        # Run agent with user query\n        result = await Runner.run(\n            agent,\n            \"Search for the latest AI news from this week\"\n        )\n\n        print(result.final_output)\n\n\nif __name__ == \"__main__\":\n    asyncio.run(main())\n```\n\n### TypeScript Hosted MCP Template (Complete Example)\n\n```typescript\n\u002F**\n * OpenAI Agents SDK with You.com Hosted MCP\n * TypeScript implementation with OpenAI-managed infrastructure\n *\u002F\n\nimport { Agent, run, hostedMcpTool } from '@openai\u002Fagents';\n\n\u002F\u002F Validate environment variables\nconst ydcApiKey = process.env.YDC_API_KEY;\nconst openaiApiKey = process.env.OPENAI_API_KEY;\n\nif (!ydcApiKey) {\n  throw new Error(\n    'YDC_API_KEY environment variable is required. ' +\n      'Get your key at: https:\u002F\u002Fyou.com\u002Fplatform\u002Fapi-keys'\n  );\n}\n\nif (!openaiApiKey) {\n  throw new Error(\n    'OPENAI_API_KEY environment variable is required. ' +\n      'Get your key at: https:\u002F\u002Fplatform.openai.com\u002Fapi-keys'\n  );\n}\n\n\u002F**\n * Example: Search for AI news using You.com hosted MCP tools\n *\u002F\nasync function main() {\n  \u002F\u002F Configure agent with hosted MCP tools\n  const agent = new Agent({\n    name: 'AI News Assistant',\n    instructions:\n      'Use You.com tools to search for and answer questions about AI news.',\n    tools: [\n      hostedMcpTool({\n        serverLabel: 'ydc',\n        serverUrl: 'https:\u002F\u002Fapi.you.com\u002Fmcp',\n        headers: {\n          Authorization: `Bearer ${ydcApiKey}`,\n        },\n      }),\n    ],\n  });\n\n  \u002F\u002F Run agent with user query\n  const result = await run(\n    agent,\n    'Search for the latest AI news from this week'\n  );\n\n  console.log(result.finalOutput);\n}\n\nmain().catch(console.error);\n```\n\n### TypeScript Streamable HTTP Template (Complete Example)\n\n```typescript\n\u002F**\n * OpenAI Agents SDK with You.com Streamable HTTP MCP\n * TypeScript implementation with self-managed connection\n *\u002F\n\nimport { Agent, run, MCPServerStreamableHttp } from '@openai\u002Fagents';\n\n\u002F\u002F Validate environment variables\nconst ydcApiKey = process.env.YDC_API_KEY;\nconst openaiApiKey = process.env.OPENAI_API_KEY;\n\nif (!ydcApiKey) {\n  throw new Error(\n    'YDC_API_KEY environment variable is required. ' +\n      'Get your key at: https:\u002F\u002Fyou.com\u002Fplatform\u002Fapi-keys'\n  );\n}\n\nif (!openaiApiKey) {\n  throw new Error(\n    'OPENAI_API_KEY environment variable is required. ' +\n      'Get your key at: https:\u002F\u002Fplatform.openai.com\u002Fapi-keys'\n  );\n}\n\n\u002F**\n * Example: Search for AI news using You.com streamable HTTP MCP server\n *\u002F\nasync function main() {\n  \u002F\u002F Configure streamable HTTP MCP server\n  const mcpServer = new MCPServerStreamableHttp({\n    url: 'https:\u002F\u002Fapi.you.com\u002Fmcp',\n    name: 'You.com MCP Server',\n    requestInit: {\n      headers: {\n        Authorization: `Bearer ${ydcApiKey}`,\n      },\n    },\n  });\n\n  try {\n    \u002F\u002F Connect to MCP server\n    await mcpServer.connect();\n\n    \u002F\u002F Configure agent with MCP server\n    const agent = new Agent({\n      name: 'AI News Assistant',\n      instructions:\n        'Use You.com tools to search for and answer questions about AI news.',\n      mcpServers: [mcpServer],\n    });\n\n    \u002F\u002F Run agent with user query\n    const result = await run(\n      agent,\n      'Search for the latest AI news from this week'\n    );\n\n    console.log(result.finalOutput);\n  } finally {\n    \u002F\u002F Clean up connection\n    await mcpServer.close();\n  }\n}\n\nmain().catch(console.error);\n```\n\n## MCP Configuration Types\n\n### Hosted MCP (Recommended)\n\n**What it is:** OpenAI manages the MCP connection and tool routing through their Responses API.\n\n**Benefits:**\n- ✅ Simpler configuration (no connection management)\n- ✅ OpenAI handles authentication and retries\n- ✅ Lower latency (tools run in OpenAI infrastructure)\n- ✅ Automatic tool discovery and listing\n- ✅ No need to manage async context or cleanup\n\n**Use when:**\n- Building production applications\n- Want minimal boilerplate code\n- Need reliable tool execution\n- Don't require custom transport layer\n\n**Configuration:**\n\n**Python:**\n```python\nfrom agents.mcp import HostedMCPTool\n\ntools=[\n    HostedMCPTool(\n        tool_config={\n            \"type\": \"mcp\",\n            \"server_label\": \"ydc\",\n            \"server_url\": \"https:\u002F\u002Fapi.you.com\u002Fmcp\",\n            \"headers\": {\n                \"Authorization\": f\"Bearer {os.environ['YDC_API_KEY']}\"\n            },\n            \"require_approval\": \"never\",\n        }\n    )\n]\n```\n\n**TypeScript:**\n```typescript\nimport { hostedMcpTool } from '@openai\u002Fagents';\n\ntools: [\n  hostedMcpTool({\n    serverLabel: 'ydc',\n    serverUrl: 'https:\u002F\u002Fapi.you.com\u002Fmcp',\n    headers: {\n      Authorization: `Bearer ${process.env.YDC_API_KEY}`,\n    },\n  }),\n]\n```\n\n### Streamable HTTP MCP\n\n**What it is:** You manage the MCP connection and transport layer yourself.\n\n**Benefits:**\n- ✅ Full control over network connection\n- ✅ Custom infrastructure integration\n- ✅ Can add custom headers, timeouts, retry logic\n- ✅ Run MCP server in your own environment\n- ✅ Better for testing and development\n\n**Use when:**\n- Need custom transport configuration\n- Running MCP server in your infrastructure\n- Require specific networking setup\n- Development and testing scenarios\n\n**Configuration:**\n\n**Python:**\n```python\nfrom agents.mcp import MCPServerStreamableHttp\n\nasync with MCPServerStreamableHttp(\n    name=\"You.com MCP Server\",\n    params={\n        \"url\": \"https:\u002F\u002Fapi.you.com\u002Fmcp\",\n        \"headers\": {\"Authorization\": f\"Bearer {os.environ['YDC_API_KEY']}\"},\n        \"timeout\": 10,\n    },\n    cache_tools_list=True,\n    max_retry_attempts=3,\n) as server:\n    agent = Agent(mcp_servers=[server])\n```\n\n**TypeScript:**\n```typescript\nimport { MCPServerStreamableHttp } from '@openai\u002Fagents';\n\nconst mcpServer = new MCPServerStreamableHttp({\n  url: 'https:\u002F\u002Fapi.you.com\u002Fmcp',\n  name: 'You.com MCP Server',\n  requestInit: {\n    headers: {\n      Authorization: `Bearer ${process.env.YDC_API_KEY}`,\n    },\n  },\n});\n\nawait mcpServer.connect();\ntry {\n  const agent = new Agent({ mcpServers: [mcpServer] });\n  \u002F\u002F Use agent\n} finally {\n  await mcpServer.close();\n}\n```\n\n## Available You.com Tools\n\nAfter configuration, agents can discover and use:\n- `mcp__ydc__you_search` - Web and news search\n- `mcp__ydc__you_express` - AI-powered answers with web context  \n- `mcp__ydc__you_contents` - Web page content extraction\n\n## Environment Variables\n\nBoth API keys are required for both configuration modes:\n\n```bash\n# Add to your .env file or shell profile\nexport YDC_API_KEY=\"your-you-api-key-here\"\nexport OPENAI_API_KEY=\"your-openai-api-key-here\"\n```\n\n**Get your API keys:**\n- You.com: https:\u002F\u002Fyou.com\u002Fplatform\u002Fapi-keys\n- OpenAI: https:\u002F\u002Fplatform.openai.com\u002Fapi-keys\n\n## Validation Checklist\n\nBefore completing:\n\n- [ ] Package installed: `openai-agents` (Python) or `@openai\u002Fagents` (TypeScript)\n- [ ] Environment variables set: `YDC_API_KEY` and `OPENAI_API_KEY`\n- [ ] Template copied or configuration added to existing file\n- [ ] MCP configuration type chosen (Hosted or Streamable HTTP)\n- [ ] Authorization headers configured with Bearer token\n- [ ] File is executable (Python) or can be compiled (TypeScript)\n- [ ] Ready to test with example query\n\n## Testing Your Integration\n\n**Python:**\n```bash\npython your-file.py\n```\n\n**TypeScript:**\n```bash\n# With tsx (recommended for quick testing)\nnpx tsx your-file.ts\n\n# Or compile and run\ntsc your-file.ts && node your-file.js\n```\n\n## Common Issues\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>Cannot find module @openai\u002Fagents\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nInstall the package:\n\n```bash\n# NPM\nnpm install @openai\u002Fagents\n\n# Bun\nbun add @openai\u002Fagents\n\n# Yarn\nyarn add @openai\u002Fagents\n\n# pnpm\npnpm add @openai\u002Fagents\n```\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>YDC_API_KEY environment variable is required\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nSet your You.com API key:\n\n```bash\nexport YDC_API_KEY=\"your-api-key-here\"\n```\n\nGet your key at: https:\u002F\u002Fyou.com\u002Fplatform\u002Fapi-keys\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>OPENAI_API_KEY environment variable is required\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nSet your OpenAI API key:\n\n```bash\nexport OPENAI_API_KEY=\"your-api-key-here\"\n```\n\nGet your key at: https:\u002F\u002Fplatform.openai.com\u002Fapi-keys\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>MCP connection fails with 401 Unauthorized\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nVerify your YDC_API_KEY is valid:\n1. Check the key at https:\u002F\u002Fyou.com\u002Fplatform\u002Fapi-keys\n2. Ensure no extra spaces or quotes in the environment variable\n3. Verify the Authorization header format: `Bearer ${YDC_API_KEY}`\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>Tools not available or not being called\u003C\u002Fstrong>\u003C\u002Fsummary>\n\n**For Both Modes:**\n- Ensure `server_url: \"https:\u002F\u002Fapi.you.com\u002Fmcp\"` is correct\n- Verify Authorization header includes `Bearer` prefix\n- Check `YDC_API_KEY` environment variable is set\n- Confirm `require_approval` is set to `\"never\"` for automatic execution\n\n**For Streamable HTTP specifically:**\n- Ensure MCP server is connected before creating agent\n- Verify connection was successful before running agent\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>Connection timeout or network errors\u003C\u002Fstrong>\u003C\u002Fsummary>\n\n**For Streamable HTTP only:**\n\nIncrease timeout or retry attempts:\n\n**Python:**\n```python\nasync with MCPServerStreamableHttp(\n    params={\n        \"url\": \"https:\u002F\u002Fapi.you.com\u002Fmcp\",\n        \"headers\": {\"Authorization\": f\"Bearer {os.environ['YDC_API_KEY']}\"},\n        \"timeout\": 30,  # Increased timeout\n    },\n    max_retry_attempts=5,  # More retries\n) as server:\n    # ...\n```\n\n**TypeScript:**\n```typescript\nconst mcpServer = new MCPServerStreamableHttp({\n  url: 'https:\u002F\u002Fapi.you.com\u002Fmcp',\n  requestInit: {\n    headers: { Authorization: `Bearer ${process.env.YDC_API_KEY}` },\n    \u002F\u002F Add custom timeout via fetch options\n  },\n});\n```\n\n\u003C\u002Fdetails>\n\n\n\n## Additional Resources\n\n* **OpenAI Agents SDK (Python)**: https:\u002F\u002Fopenai.github.io\u002Fopenai-agents-python\u002F\n* **OpenAI Agents SDK (TypeScript)**: https:\u002F\u002Fopenai.github.io\u002Fopenai-agents-js\u002F\n* **MCP Configuration (Python)**: https:\u002F\u002Fopenai.github.io\u002Fopenai-agents-python\u002Fmcp\u002F\n* **MCP Configuration (TypeScript)**: https:\u002F\u002Fopenai.github.io\u002Fopenai-agents-js\u002Fguides\u002Fmcp\u002F\n* **You.com MCP Server**: https:\u002F\u002Fdocumentation.you.com\u002Fdeveloper-resources\u002Fmcp-server\n* **API Keys**:\n  - You.com: https:\u002F\u002Fyou.com\u002Fplatform\u002Fapi-keys\n  - OpenAI: https:\u002F\u002Fplatform.openai.com\u002Fapi-keys\n","# Integrate OpenAI Agents SDK with You.com MCP\n\nInteractive workflow to set up OpenAI Agents SDK with You.com's MCP server.\n\n## Workflow\n\n1. **Ask: Language Choice**\n   * Python or TypeScript?\n\n2. **Ask: MCP Configuration Type**\n   * **Hosted MCP** (OpenAI-managed with server URL): Recommended for simplicity\n   * **Streamable HTTP** (Self-managed connection): For custom infrastructure\n\n3. **Install Package**\n   * Python: `pip install openai-agents`\n   * TypeScript: `npm install @openai\u002Fagents`\n\n4. **Ask: Environment Variables**\n\n   **For Both Modes:**\n   * `YDC_API_KEY` (You.com API key for Bearer token)\n   * `OPENAI_API_KEY` (OpenAI API key)\n\n   Have they set them?\n   * If NO: Guide to get keys:\n     - YDC_API_KEY: https:\u002F\u002Fyou.com\u002Fplatform\u002Fapi-keys\n     - OPENAI_API_KEY: https:\u002F\u002Fplatform.openai.com\u002Fapi-keys\n\n5. **Ask: File Location**\n   * NEW file: Ask where to create and what to name\n   * EXISTING file: Ask which file to integrate into (add MCP config)\n\n6. **Create\u002FUpdate File**\n\n   **For NEW files:**\n   * Use the complete template code from the \"Complete Templates\" section below\n   * User can run immediately with their API keys set\n\n   **For EXISTING files:**\n   * Add MCP server configuration to their existing code\n\n   **Hosted MCP configuration block (Python)**:\n   ```python\n   from agents import Agent, Runner\n   from agents.mcp import HostedMCPTool\n\n   # Validate: ydc_api_key = os.getenv(\"YDC_API_KEY\")\n   agent = Agent(\n       name=\"Assistant\",\n       instructions=\"Use You.com tools to answer questions.\",\n       tools=[\n           HostedMCPTool(\n               tool_config={\n                   \"type\": \"mcp\",\n                   \"server_label\": \"ydc\",\n                   \"server_url\": \"https:\u002F\u002Fapi.you.com\u002Fmcp\",\n                   \"headers\": {\n                       \"Authorization\": f\"Bearer {ydc_api_key}\"\n                   },\n                   \"require_approval\": \"never\",\n               }\n           )\n       ],\n   )\n   ```\n\n   **Hosted MCP configuration block (TypeScript)**:\n   ```typescript\n   import { Agent, hostedMcpTool } from '@openai\u002Fagents';\n\n   \u002F\u002F Validate: const ydcApiKey = process.env.YDC_API_KEY;\n   const agent = new Agent({\n     name: 'Assistant',\n     instructions: 'Use You.com tools to answer questions.',\n     tools: [\n       hostedMcpTool({\n        serverLabel: 'ydc',\n         serverUrl: 'https:\u002F\u002Fapi.you.com\u002Fmcp',\n         headers: {\n           Authorization: `Bearer ${ydcApiKey}`,\n         },\n       }),\n     ],\n   });\n   ```\n\n   **Streamable HTTP configuration block (Python)**:\n   ```python\n   from agents import Agent, Runner\n   from agents.mcp import MCPServerStreamableHttp\n\n   # Validate: ydc_api_key = os.getenv(\"YDC_API_KEY\")\n   async with MCPServerStreamableHttp(\n       name=\"You.com MCP Server\",\n       params={\n           \"url\": \"https:\u002F\u002Fapi.you.com\u002Fmcp\",\n           \"headers\": {\"Authorization\": f\"Bearer {ydc_api_key}\"},\n           \"timeout\": 10,\n       },\n       cache_tools_list=True,\n       max_retry_attempts=3,\n   ) as server:\n       agent = Agent(\n           name=\"Assistant\",\n           instructions=\"Use You.com tools to answer questions.\",\n           mcp_servers=[server],\n       )\n   ```\n\n   **Streamable HTTP configuration block (TypeScript)**:\n   ```typescript\n   import { Agent, MCPServerStreamableHttp } from '@openai\u002Fagents';\n\n   \u002F\u002F Validate: const ydcApiKey = process.env.YDC_API_KEY;\n   const mcpServer = new MCPServerStreamableHttp({\n     url: 'https:\u002F\u002Fapi.you.com\u002Fmcp',\n     name: 'You.com MCP Server',\n     requestInit: {\n       headers: {\n         Authorization: `Bearer ${ydcApiKey}`,\n       },\n     },\n   });\n\n   const agent = new Agent({\n     name: 'Assistant',\n     instructions: 'Use You.com tools to answer questions.',\n     mcpServers: [mcpServer],\n   });\n   ```\n\n## Complete Templates\n\nUse these complete templates for new files. Each template is ready to run with your API keys set.\n\n### Python Hosted MCP Template (Complete Example)\n\n```python\n\"\"\"\nOpenAI Agents SDK with You.com Hosted MCP\nPython implementation with OpenAI-managed infrastructure\n\"\"\"\n\nimport os\nimport asyncio\nfrom agents import Agent, Runner\nfrom agents.mcp import HostedMCPTool\n\n# Validate environment variables\nydc_api_key = os.getenv(\"YDC_API_KEY\")\nopenai_api_key = os.getenv(\"OPENAI_API_KEY\")\n\nif not ydc_api_key:\n    raise ValueError(\n        \"YDC_API_KEY environment variable is required. \"\n        \"Get your key at: https:\u002F\u002Fyou.com\u002Fplatform\u002Fapi-keys\"\n    )\n\nif not openai_api_key:\n    raise ValueError(\n        \"OPENAI_API_KEY environment variable is required. \"\n        \"Get your key at: https:\u002F\u002Fplatform.openai.com\u002Fapi-keys\"\n    )\n\n\nasync def main():\n    \"\"\"\n    Example: Search for AI news using You.com hosted MCP tools\n    \"\"\"\n    # Configure agent with hosted MCP tools\n    agent = Agent(\n        name=\"AI News Assistant\",\n        instructions=\"Use You.com tools to search for and answer questions about AI news.\",\n        tools=[\n            HostedMCPTool(\n                tool_config={\n                    \"type\": \"mcp\",\n                    \"server_label\": \"ydc\",\n                    \"server_url\": \"https:\u002F\u002Fapi.you.com\u002Fmcp\",\n                    \"headers\": {\n                        \"Authorization\": f\"Bearer {ydc_api_key}\"\n                    },\n                    \"require_approval\": \"never\",\n                }\n            )\n        ],\n    )\n\n    # Run agent with user query\n    result = await Runner.run(\n        agent,\n        \"Search for the latest AI news from this week\"\n    )\n\n    print(result.final_output)\n\n\nif __name__ == \"__main__\":\n    asyncio.run(main())\n```\n\n### Python Streamable HTTP Template (Complete Example)\n\n```python\n\"\"\"\nOpenAI Agents SDK with You.com Streamable HTTP MCP\nPython implementation with self-managed connection\n\"\"\"\n\nimport os\nimport asyncio\nfrom agents import Agent, Runner\nfrom agents.mcp import MCPServerStreamableHttp\n\n# Validate environment variables\nydc_api_key = os.getenv(\"YDC_API_KEY\")\nopenai_api_key = os.getenv(\"OPENAI_API_KEY\")\n\nif not ydc_api_key:\n    raise ValueError(\n        \"YDC_API_KEY environment variable is required. \"\n        \"Get your key at: https:\u002F\u002Fyou.com\u002Fplatform\u002Fapi-keys\"\n    )\n\nif not openai_api_key:\n    raise ValueError(\n        \"OPENAI_API_KEY environment variable is required. \"\n        \"Get your key at: https:\u002F\u002Fplatform.openai.com\u002Fapi-keys\"\n    )\n\n\nasync def main():\n    \"\"\"\n    Example: Search for AI news using You.com streamable HTTP MCP server\n    \"\"\"\n    # Configure streamable HTTP MCP server\n    async with MCPServerStreamableHttp(\n        name=\"You.com MCP Server\",\n        params={\n            \"url\": \"https:\u002F\u002Fapi.you.com\u002Fmcp\",\n            \"headers\": {\"Authorization\": f\"Bearer {ydc_api_key}\"},\n            \"timeout\": 10,\n        },\n        cache_tools_list=True,\n        max_retry_attempts=3,\n    ) as server:\n        # Configure agent with MCP server\n        agent = Agent(\n            name=\"AI News Assistant\",\n            instructions=\"Use You.com tools to search for and answer questions about AI news.\",\n            mcp_servers=[server],\n        )\n\n        # Run agent with user query\n        result = await Runner.run(\n            agent,\n            \"Search for the latest AI news from this week\"\n        )\n\n        print(result.final_output)\n\n\nif __name__ == \"__main__\":\n    asyncio.run(main())\n```\n\n### TypeScript Hosted MCP Template (Complete Example)\n\n```typescript\n\u002F**\n * OpenAI Agents SDK with You.com Hosted MCP\n * TypeScript implementation with OpenAI-managed infrastructure\n *\u002F\n\nimport { Agent, run, hostedMcpTool } from '@openai\u002Fagents';\n\n\u002F\u002F Validate environment variables\nconst ydcApiKey = process.env.YDC_API_KEY;\nconst openaiApiKey = process.env.OPENAI_API_KEY;\n\nif (!ydcApiKey) {\n  throw new Error(\n    'YDC_API_KEY environment variable is required. ' +\n      'Get your key at: https:\u002F\u002Fyou.com\u002Fplatform\u002Fapi-keys'\n  );\n}\n\nif (!openaiApiKey) {\n  throw new Error(\n    'OPENAI_API_KEY environment variable is required. ' +\n      'Get your key at: https:\u002F\u002Fplatform.openai.com\u002Fapi-keys'\n  );\n}\n\n\u002F**\n * Example: Search for AI news using You.com hosted MCP tools\n *\u002F\nasync function main() {\n  \u002F\u002F Configure agent with hosted MCP tools\n  const agent = new Agent({\n    name: 'AI News Assistant',\n    instructions:\n      'Use You.com tools to search for and answer questions about AI news.',\n    tools: [\n      hostedMcpTool({\n        serverLabel: 'ydc',\n        serverUrl: 'https:\u002F\u002Fapi.you.com\u002Fmcp',\n        headers: {\n          Authorization: `Bearer ${ydcApiKey}`,\n        },\n      }),\n    ],\n  });\n\n  \u002F\u002F Run agent with user query\n  const result = await run(\n    agent,\n    'Search for the latest AI news from this week'\n  );\n\n  console.log(result.finalOutput);\n}\n\nmain().catch(console.error);\n```\n\n### TypeScript Streamable HTTP Template (Complete Example)\n\n```typescript\n\u002F**\n * OpenAI Agents SDK with You.com Streamable HTTP MCP\n * TypeScript implementation with self-managed connection\n *\u002F\n\nimport { Agent, run, MCPServerStreamableHttp } from '@openai\u002Fagents';\n\n\u002F\u002F Validate environment variables\nconst ydcApiKey = process.env.YDC_API_KEY;\nconst openaiApiKey = process.env.OPENAI_API_KEY;\n\nif (!ydcApiKey) {\n  throw new Error(\n    'YDC_API_KEY environment variable is required. ' +\n      'Get your key at: https:\u002F\u002Fyou.com\u002Fplatform\u002Fapi-keys'\n  );\n}\n\nif (!openaiApiKey) {\n  throw new Error(\n    'OPENAI_API_KEY environment variable is required. ' +\n      'Get your key at: https:\u002F\u002Fplatform.openai.com\u002Fapi-keys'\n  );\n}\n\n\u002F**\n * Example: Search for AI news using You.com streamable HTTP MCP server\n *\u002F\nasync function main() {\n  \u002F\u002F Configure streamable HTTP MCP server\n  const mcpServer = new MCPServerStreamableHttp({\n    url: 'https:\u002F\u002Fapi.you.com\u002Fmcp',\n    name: 'You.com MCP Server',\n    requestInit: {\n      headers: {\n        Authorization: `Bearer ${ydcApiKey}`,\n      },\n    },\n  });\n\n  try {\n    \u002F\u002F Connect to MCP server\n    await mcpServer.connect();\n\n    \u002F\u002F Configure agent with MCP server\n    const agent = new Agent({\n      name: 'AI News Assistant',\n      instructions:\n        'Use You.com tools to search for and answer questions about AI news.',\n      mcpServers: [mcpServer],\n    });\n\n    \u002F\u002F Run agent with user query\n    const result = await run(\n      agent,\n      'Search for the latest AI news from this week'\n    );\n\n    console.log(result.finalOutput);\n  } finally {\n    \u002F\u002F Clean up connection\n    await mcpServer.close();\n  }\n}\n\nmain().catch(console.error);\n```\n\n## MCP Configuration Types\n\n### Hosted MCP (Recommended)\n\n**What it is:** OpenAI manages the MCP connection and tool routing through their Responses API.\n\n**Benefits:**\n- ✅ Simpler configuration (no connection management)\n- ✅ OpenAI handles authentication and retries\n- ✅ Lower latency (tools run in OpenAI infrastructure)\n- ✅ Automatic tool discovery and listing\n- ✅ No need to manage async context or cleanup\n\n**Use when:**\n- Building production applications\n- Want minimal boilerplate code\n- Need reliable tool execution\n- Don't require custom transport layer\n\n**Configuration:**\n\n**Python:**\n```python\nfrom agents.mcp import HostedMCPTool\n\ntools=[\n    HostedMCPTool(\n        tool_config={\n            \"type\": \"mcp\",\n            \"server_label\": \"ydc\",\n            \"server_url\": \"https:\u002F\u002Fapi.you.com\u002Fmcp\",\n            \"headers\": {\n                \"Authorization\": f\"Bearer {os.environ['YDC_API_KEY']}\"\n            },\n            \"require_approval\": \"never\",\n        }\n    )\n]\n```\n\n**TypeScript:**\n```typescript\nimport { hostedMcpTool } from '@openai\u002Fagents';\n\ntools: [\n  hostedMcpTool({\n    serverLabel: 'ydc',\n    serverUrl: 'https:\u002F\u002Fapi.you.com\u002Fmcp',\n    headers: {\n      Authorization: `Bearer ${process.env.YDC_API_KEY}`,\n    },\n  }),\n]\n```\n\n### Streamable HTTP MCP\n\n**What it is:** You manage the MCP connection and transport layer yourself.\n\n**Benefits:**\n- ✅ Full control over network connection\n- ✅ Custom infrastructure integration\n- ✅ Can add custom headers, timeouts, retry logic\n- ✅ Run MCP server in your own environment\n- ✅ Better for testing and development\n\n**Use when:**\n- Need custom transport configuration\n- Running MCP server in your infrastructure\n- Require specific networking setup\n- Development and testing scenarios\n\n**Configuration:**\n\n**Python:**\n```python\nfrom agents.mcp import MCPServerStreamableHttp\n\nasync with MCPServerStreamableHttp(\n    name=\"You.com MCP Server\",\n    params={\n        \"url\": \"https:\u002F\u002Fapi.you.com\u002Fmcp\",\n        \"headers\": {\"Authorization\": f\"Bearer {os.environ['YDC_API_KEY']}\"},\n        \"timeout\": 10,\n    },\n    cache_tools_list=True,\n    max_retry_attempts=3,\n) as server:\n    agent = Agent(mcp_servers=[server])\n```\n\n**TypeScript:**\n```typescript\nimport { MCPServerStreamableHttp } from '@openai\u002Fagents';\n\nconst mcpServer = new MCPServerStreamableHttp({\n  url: 'https:\u002F\u002Fapi.you.com\u002Fmcp',\n  name: 'You.com MCP Server',\n  requestInit: {\n    headers: {\n      Authorization: `Bearer ${process.env.YDC_API_KEY}`,\n    },\n  },\n});\n\nawait mcpServer.connect();\ntry {\n  const agent = new Agent({ mcpServers: [mcpServer] });\n  \u002F\u002F Use agent\n} finally {\n  await mcpServer.close();\n}\n```\n\n## Available You.com Tools\n\nAfter configuration, agents can discover and use:\n- `mcp__ydc__you_search` - Web and news search\n- `mcp__ydc__you_express` - AI-powered answers with web context  \n- `mcp__ydc__you_contents` - Web page content extraction\n\n## Environment Variables\n\nBoth API keys are required for both configuration modes:\n\n```bash\n# Add to your .env file or shell profile\nexport YDC_API_KEY=\"your-you-api-key-here\"\nexport OPENAI_API_KEY=\"your-openai-api-key-here\"\n```\n\n**Get your API keys:**\n- You.com: https:\u002F\u002Fyou.com\u002Fplatform\u002Fapi-keys\n- OpenAI: https:\u002F\u002Fplatform.openai.com\u002Fapi-keys\n\n## Validation Checklist\n\nBefore completing:\n\n- [ ] Package installed: `openai-agents` (Python) or `@openai\u002Fagents` (TypeScript)\n- [ ] Environment variables set: `YDC_API_KEY` and `OPENAI_API_KEY`\n- [ ] Template copied or configuration added to existing file\n- [ ] MCP configuration type chosen (Hosted or Streamable HTTP)\n- [ ] Authorization headers configured with Bearer token\n- [ ] File is executable (Python) or can be compiled (TypeScript)\n- [ ] Ready to test with example query\n\n## Testing Your Integration\n\n**Python:**\n```bash\npython your-file.py\n```\n\n**TypeScript:**\n```bash\n# With tsx (recommended for quick testing)\nnpx tsx your-file.ts\n\n# Or compile and run\ntsc your-file.ts && node your-file.js\n```\n\n## Common Issues\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>Cannot find module @openai\u002Fagents\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nInstall the package:\n\n```bash\n# NPM\nnpm install @openai\u002Fagents\n\n# Bun\nbun add @openai\u002Fagents\n\n# Yarn\nyarn add @openai\u002Fagents\n\n# pnpm\npnpm add @openai\u002Fagents\n```\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>YDC_API_KEY environment variable is required\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nSet your You.com API key:\n\n```bash\nexport YDC_API_KEY=\"your-api-key-here\"\n```\n\nGet your key at: https:\u002F\u002Fyou.com\u002Fplatform\u002Fapi-keys\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>OPENAI_API_KEY environment variable is required\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nSet your OpenAI API key:\n\n```bash\nexport OPENAI_API_KEY=\"your-api-key-here\"\n```\n\nGet your key at: https:\u002F\u002Fplatform.openai.com\u002Fapi-keys\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>MCP connection fails with 401 Unauthorized\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nVerify your YDC_API_KEY is valid:\n1. Check the key at https:\u002F\u002Fyou.com\u002Fplatform\u002Fapi-keys\n2. Ensure no extra spaces or quotes in the environment variable\n3. Verify the Authorization header format: `Bearer ${YDC_API_KEY}`\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>Tools not available or not being called\u003C\u002Fstrong>\u003C\u002Fsummary>\n\n**For Both Modes:**\n- Ensure `server_url: \"https:\u002F\u002Fapi.you.com\u002Fmcp\"` is correct\n- Verify Authorization header includes `Bearer` prefix\n- Check `YDC_API_KEY` environment variable is set\n- Confirm `require_approval` is set to `\"never\"` for automatic execution\n\n**For Streamable HTTP specifically:**\n- Ensure MCP server is connected before creating agent\n- Verify connection was successful before running agent\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>Connection timeout or network errors\u003C\u002Fstrong>\u003C\u002Fsummary>\n\n**For Streamable HTTP only:**\n\nIncrease timeout or retry attempts:\n\n**Python:**\n```python\nasync with MCPServerStreamableHttp(\n    params={\n        \"url\": \"https:\u002F\u002Fapi.you.com\u002Fmcp\",\n        \"headers\": {\"Authorization\": f\"Bearer {os.environ['YDC_API_KEY']}\"},\n        \"timeout\": 30,  # Increased timeout\n    },\n    max_retry_attempts=5,  # More retries\n) as server:\n    # ...\n```\n\n**TypeScript:**\n```typescript\nconst mcpServer = new MCPServerStreamableHttp({\n  url: 'https:\u002F\u002Fapi.you.com\u002Fmcp',\n  requestInit: {\n    headers: { Authorization: `Bearer ${process.env.YDC_API_KEY}` },\n    \u002F\u002F Add custom timeout via fetch options\n  },\n});\n```\n\n\u003C\u002Fdetails>\n\n\n\n## Additional Resources\n\n* **OpenAI Agents SDK (Python)**: https:\u002F\u002Fopenai.github.io\u002Fopenai-agents-python\u002F\n* **OpenAI Agents SDK (TypeScript)**: https:\u002F\u002Fopenai.github.io\u002Fopenai-agents-js\u002F\n* **MCP Configuration (Python)**: https:\u002F\u002Fopenai.github.io\u002Fopenai-agents-python\u002Fmcp\u002F\n* **MCP Configuration (TypeScript)**: https:\u002F\u002Fopenai.github.io\u002Fopenai-agents-js\u002Fguides\u002Fmcp\u002F\n* **You.com MCP Server**: https:\u002F\u002Fdocumentation.you.com\u002Fdeveloper-resources\u002Fmcp-server\n* **API Keys**:\n  - You.com: https:\u002F\u002Fyou.com\u002Fplatform\u002Fapi-keys\n  - OpenAI: https:\u002F\u002Fplatform.openai.com\u002Fapi-keys\n",{"name":5,"license":14,"metadata":43,"description":7,"compatibility":48},{"author":44,"version":45,"category":46,"keywords":47},"youdotcom-oss","1.0.0","sdk-integration","openai,openai-agents,agent-sdk,mcp,you.com,integration,hosted-mcp,streamable-http,web-search,python,typescript","Python 3.10+ or Node.js 18+ with TypeScript","main","e7e336ac628c3e3bd771aff1aaa469c93778f94a","skills\u002Fedwardirby\u002Fydc-openai-agent-sdk-integration",0,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del","2026-08-23 22:39:37",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add kbarbel640-del\u002Fskills --skill ydc-openai-agent-sdk-integration",{"tool":62,"command":63},"bunx","bunx skills add kbarbel640-del\u002Fskills --skill ydc-openai-agent-sdk-integration",{"tool":65,"command":66},"pnpm","pnpm dlx skills add kbarbel640-del\u002Fskills --skill ydc-openai-agent-sdk-integration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fedwardirby\u002Fydc-openai-agent-sdk-integration\u002FSKILL.md",true,[70],{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"_meta.json","REFERENCE","参考文档",339,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fedwardirby\u002Fydc-openai-agent-sdk-integration\u002F_meta.json",[77,102,125,142,147,167],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":38},"01M6G8J55967D6281ACMKAKTEQ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[84,85,86,35,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101],"crowd prompting","prompting","api","tokens","domain","world","prompts","operations","instructions","text","tool","system","improve","productivity","marketplace","https","content","ai agents",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":38},"01M6G8J0PKPAYVET6BWE8W4C26","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[109,86,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,90,31],"dilemm ai","arena","analyze","browser","openclaw agent","create","automation","browser automation","bot","openclaw","design","strategy","headless","compete","submit","matchmaking",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":38},"01M6G8HWAF3K9SW7NP3Z83CPJ6","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, or submitting paper reviews via API at http:\u002F\u002F150.158.152.82:8000.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Fweak-accept\u002FSKILL.md",[],[132,133,134,135,136,137,138,35,139,123,31,140,86,26,141],"arxiv paper reviews","reviews","arxiv","paper","crawler","papers","comments","fetch","read","via",{"skillNo":143,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":38},"01M6G8HQJ7N7WMY6YV7D7SSJ16","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[135,134,133,132,141,137,138,35,136,123,31,139,140,86,26],{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":38},"01M6G8HM95Y64JNVFC2HN4E2BG","git-summary","Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzweack\u002Fgit-summary\u002FSKILL.md",[],[154,155,156,157,158,159,160,161,162,163,164,165,166],"git","summary","git summary","commits","repository","win32","status","linux","contributors","true","quick","get","branches",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":38},"01M6G8HGEGF05CNEJCGVYFSC4R","agent-constitution","Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fztsalexey\u002Fagent-constitution\u002FSKILL.md",[],[174,175,176,177,35,178,179,49,180,140,181,182,183,184,185,99,186,187,188],"agent constitution","constitution","contracts","tree","query","base","log","check","Rules","projects","compliance","actions","state","governance","github"]