modify-agent
Skill by dbos-inc
Guides developers through editing a Databricks agent's code, including adding MCP servers, changing the model and updating instructions. It covers agent.py and the databricks-openai SDK setup.
Install modify-agent
Built from the published package, never by AI.
git clone --depth 1 https://github.com/dbos-inc/dbos-demo-apps /tmp/dbos-demo-apps && mkdir -p ~/.claude/skills && cp -r /tmp/dbos-demo-apps/python/databricks-openai-agent/.claude/skills/modify-agent ~/.claude/skills/modify-agentRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/dbos-inc/dbos-demo-apps /tmp/dbos-demo-apps && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/dbos-demo-apps/python/databricks-openai-agent/.claude/skills/modify-agent ~/.gemini/antigravity-cli/skills/modify-agentAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The modify-agent skill is a guide for changing an agent project built on Databricks. It names agent_server/agent.py as the main file for agent logic, model selection, instructions and MCP servers. It also lists related files, including start_server.py, evaluate_agent.py, utils.py and databricks.yml.
The skill shows code for setting up the databricks-openai async client and MLflow tracing. It covers adding UC Functions, Genie space and vector search MCP servers, switching models and rewriting instructions. It also explains running the agent with streaming and converting output to Responses API format. Other skills are referenced for permissions, testing and deployment. It is aimed at developers building agents on Databricks.
Written from the project's SKILL.md and checked against it.
What it can do
- Add MCP serversAdds UC Functions, Genie space and vector search MCP servers to an agent.
- Change modelChanges the model name set in the Agent definition in agent.py.
- Change instructionsUpdates the instructions text that tells the agent how to behave.
- SDK setupConfigures the async databricks-openai client and MLflow tracing for an agent server.
- Run agentRuns the agent with Runner, either non-streaming or streamed.
- Responses API conversionConverts streaming output to Responses API format using process_agent_stream_events().
What you need
- Databricks workspace
- databricks-openai Python SDK
Try asking
- Add a Genie space MCP server to my agent
- Change my agent's model to databricks-claude-3-7-sonnet
- Update the agent instructions to cite sources when answering
Good to know
- The listed models should be checked against the current workspace list.
- Some workspaces require granting the app access to the serving endpoint in databricks.yml.
- MCP servers need permissions granted in databricks.yml.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: python/databricks-openai-agent/.claude/skills/modify-agent/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to modify-agent
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
modify-agent: common questions
Which file holds the agent logic?
The source names agent_server/agent.py as the main file for agent logic, model selection, instructions and MCP servers.
Which models does the skill list?
It lists databricks-claude-3-7-sonnet, databricks-claude-3-5-sonnet and databricks-meta-llama-3-3-70b-instruct. It says to check the workspace for the current list.
Do MCP servers need extra permissions?
Yes. The source says to grant permissions in databricks.yml after adding MCP servers, and points to the add-tools skill.
How do I install modify-agent?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is modify-agent free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is modify-agent safe to use?
It scores 70 of 100. Grades: maintenance A, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to modify-agent?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
