aymenfurter/polyclaw/foundry-agent-chat
Claude Code and agent skill by aymenfurter/polyclaw
- community
Checking that the SKILL.md file is still in the repository.
Create an ad-hoc Microsoft Foundry agent for a specific purpose using the new v2 Responses API. Build a custom prompt agent with optional tools, run a conversation, and clean up. Use when the user says: "create a foundry agent", "make an agent for", "foundry agent", "build an ai agent", "create an assistant", "spin up an agent", "agent for this task"
Install
npx vskill@latest install aymenfurter/polyclaw/foundry-agent-chatSKILL.md
Foundry Agent Chat
Create an ad-hoc Foundry prompt agent tailored to a specific purpose using the new v2 Responses API with conversations.
Prerequisites
The user must have completed the Foundry setup (the setup-foundry skill). They need:
FOUNDRY_PROJECT_ENDPOINT-- the project endpoint URLFOUNDRY_MODEL_DEPLOYMENT_NAME-- the model deployment name
If these are not set, ask the user for the values.
Steps
1. Define the Agent Purpose
Ask the user:
- What should the agent do? (e.g., "Write marketing copy", "Answer questions about our docs", "Translate text")
- Should it have any special instructions or persona?
- Does it need any tools? (code interpreter, file search, web search)
2. Create and Run the Agent
Use the following Python script. Customize the agent_name, instructions, and tools based on the user's requirements.
Basic prompt agent (no tools):
Agent with tools (code interpreter + web search):
3. Multi-turn Conversation
If the user wants to continue the conversation, reuse the same conversation ID without creating a new one:
4. Present Results
- Show the agent's response to the user
- If the agent used tools (code interpreter, web search), summarize what it did
- For multi-turn conversations, keep track of the conversation ID and agent name
5. Clean Up
When the user is done, delete the agent version:
Agent Types Summary
| Use Case | Tools | Example | |
|---|---|---|---|
| Q&A / Chat | None | Customer support bot, writing assistant | |
| Data Analysis | Code Interpreter | CSV analysis, chart generation, math solver | |
| Research | Web Search | Market research, fact checking | |
| Full-featured | Code Interpreter + Web Search | Research analyst with computation |
Notes
- Agents are versioned: each
create_versioncall increments the version number - Conversations persist state across calls, so the agent remembers context
- Use
store=Falsein the response call to opt out of statefulness when not needed - The Responses API is synchronous -- no polling required (unlike the old Runs API)
- Agent definitions and conversation state use single-tenant storage for security
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/foundry-agents/skills/foundry-agent-chat/SKILL.md
Popularity
- Repository stars
- 50
- Repository forks
- 8
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 20 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/aymenfurter/polyclaw/foundry-agent-chat)