[QUESTION] - how can I reference a specific sub agent configured in md file in github actions PR workflow? #576
Replies: 2 comments
-
|
Hi, I believe you can create a claude code action workflow files that run on schedule specifying prompt: "Run fixer agent " and Claude will run the subagent if you commit the fixer.md into your git repository. |
Beta Was this translation helpful? Give feedback.
-
|
Two small corrections:
So the workflow pattern is:
For two repos (backend + client), check out both and grant access to the second path with Also note that subagents are loaded at session start, so if you add the file manually, start a fresh run/session so it gets picked up. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello All, I am new to claude code.
what I am trying to achieve is building a specific agent that does a specific thing and have created an .md file under claude/agents/fixer.md
in the fixer.md there are description and instructions on what the agent should do.
I wanna schedule a workflow that runs once a day that would call that agent
I did not see an example how would I call this specific agent in the workflow when using the claude code action? I only saw examples of prompts or by referencing @claude in the comments
but how can I call this agent from the md file that I have created that already explains to the agent what to do?
would love for some help
I would like to know also is how can I let the agent decide on which repo to make a code fix if I have two seperate repos? backend+client?
thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions