modify-agent
Skill by databricks
Modify a Databricks agent by adding tools, attaching MCP servers, changing the model or editing instructions. It is aimed at developers building agents with the databricks-openai SDK.
Install modify-agent
Built from the published package, never by AI.
git clone --depth 1 https://github.com/databricks/app-templates /tmp/app-templates && mkdir -p ~/.claude/skills && cp -r /tmp/app-templates/.claude/skills/modify-openai-agent ~/.claude/skills/modify-agentRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/databricks/app-templates /tmp/app-templates && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/app-templates/.claude/skills/modify-openai-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 guides changes to a Databricks agent project. Its main file is agent_server/agent.py, which holds the agent logic, model selection, instructions and MCP servers. The skill also lists related files, including start_server.py for the FastAPI server and MLflow setup, evaluate_agent.py for MLflow scorers, utils.py for auth and stream helpers, and databricks.yml for bundle config and resource permissions.
The skill shows how to set up the async AsyncDatabricksOpenAI client with the OpenAI Agents SDK and use MLflow for tracing. It includes examples for attaching MCP servers for Unity Catalog functions, Genie spaces and vector search, and for changing the model and instructions. It also covers running the agent in streaming or non-streaming mode. It is intended for developers who want to change an existing agent on Databricks.
Written from the project's SKILL.md and checked against it.
What it can do
- Attach MCP serversAdds Unity Catalog function, Genie space and vector search MCP servers to an agent.
- Change the modelSwitches the agent to a different model name, such as databricks-claude-3-7-sonnet.
- Edit instructionsUpdates the agent's instructions text in agent_server/agent.py.
- SDK setupConfigures the async databricks-openai client and MLflow tracing for the agent.
- Run the agentShows non-streaming and streaming runs, and conversion to Responses API format.
What you need
- Python
- databricks-openai SDK
- Databricks workspace
Try asking
- Add a Genie space MCP server to my agent
- Change the agent model to databricks-claude-3-5-sonnet
- Update the agent instructions to always cite sources
Good to know
- The model list is a guide, so check the workspace for the current list.
- Some workspaces require granting the app access to the serving endpoint in databricks.yml.
- Adding MCP servers requires granting permissions in databricks.yml.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/modify-openai-agent/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md4 KB
Alternatives to modify-agent
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
modify-agent: common questions
Which MCP servers can I add to the agent?
The source shows examples for Unity Catalog functions, Genie spaces and vector search. Each is created as an McpServer with a Databricks API URL.
Do I need to change permissions after adding MCP servers?
Yes. The source says to grant permissions in databricks.yml, and points to the add-tools skill for details.
Which models are listed in the source?
It lists databricks-claude-3-7-sonnet, databricks-claude-3-5-sonnet and databricks-meta-llama-3-3-70b-instruct. It notes that the workspace should be checked for the current list.
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 published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is modify-agent safe to use?
It scores 73 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: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
