Is there somewhere in the app to specify custom in...
# openhands-cloud
e
Is there somewhere in the app to specify custom instructions? I am finding the output of my agent to be far too verbose and I’d like it to remember to be more concise.
m
you can use a skill for example. This is the simplest and easier way (just make one which is always active)
e
but what will make the agent know to always use the skill? I feel like custom instructions and per agent personalities is very different from skills, since custom instructions are overarching.
m
the skill will always be displayed so the agent will always read that.
I feel like custom instructions and per agent personalities is very different from skills, since custom instructions are overarching.
Are actually the same things but different names and different position in the system prompt
e
all skills are automatically loaded entirely into the context? I thought only their names and brief descriptions are exposed so that it doesn’t eat up so much context. Now I am nervous about connecting my skills in this harness haha. I am used to harnesses where I can connect 100+ skills without context bloat. Is openhands different?
a
You can use a profile and modify the prompt (the default system prompt encourages it to be very thorough)
m
all skills are automatically loaded entirely into the context?
It depends. You can have both for skills (and here start to be complicated 😛 ) There are 3 ways to activate/visualize a skills right now: • always displayed (whole context always disponible) • the agent can ask to see the context of the skill • there is a keyword which trigger the skill
I thought only their names and brief descriptions are exposed so that it doesn’t eat up so much context.
This is the case but you could also add a skill which is always displayed. But the system prompt in some case also work similar, because the memory is not always displayed as a whole but it is given a reference and the the agent can consult what there is inside (which is more or less the same thing) You can also modify the prompt and attacch something under that
🙌 1
e
@average-processor-75195 i thought that, but I can’t find that feature in the cloud app, maybe that is just for local?
m
i thought that, but I can’t find that feature in the cloud app, maybe that is just for local?
Because of that I was speaking about skills 😛
e
This is the case but you could also add a skill which is always displayed.
this is configurable in the UI?
a
Ahh, we need to get profiles back in the UI, ok, I can’t help right now
🥺 1
m
this is configurable in the UI?
in the skill md file you have a frontmatter in yaml where you can add this option. Look into the docs (I hope they are up to date)
e
hmm okay we have an openhands specific skill format and rules?
m
Ahh, we need to get profiles back in the UI, ok, I can’t help right now
I think for cloud/saas Juan&Simon are working on that, i.e., have parity with the local installation.
hmm okay we have an openhands specific skill format and rules?
There are some difference but is more or less the standard format that everyone use and skills from other agents should be compatible with OH
e
Thanks. It sounds like the feature I am looking for is coming soon to cloud though so I should wait before trying to finagle something out of skills?
m
as you want. just wanted to point out the faster way to achieve your goal withouth waiting😉
e
i appreciate it! i might try to figure that out if the wait ends up being long haha
m
you could also eventually setting a max output token limit but I’m not sure this will behave well
e
that is too scary to mess with
c
What I do, is I have a personal repo enyst/.openhands where I have skills. Then in the Cloud UI, Customize -> Skills, I add it
You can tell your agent to make such repo, and make sure it’s in OpenHands marketplace format (Anthropic-inspired marketplace .json file needs to be in .plugin/) It can do it, and it can help test it if you tell it you both are on the cloud 🙂
…well, I used to do this, now it’s a tad outdated (but still loaded 😅…)
I just tested that it works, for “always-on” skills: I told the agent to convert a regular skill (those who are not loaded in context fully) to a permanent, always-on skill as recognized by openhands/agent-sdk. Then I told it to start a new conversation on the cloud and ask it if “it knows anything about cat secretary” => yes, it automatically had the .md content in full The always-on skill is here
e
thank you! i think i’ll wait for the custom instructions to be available on cloud since it osunds like that is coming soon… i hope!