Enable external references in AGENTS.md#922
Closed
almirsarajcic wants to merge 1 commit into
Closed
Conversation
Member
|
hey we're avoiding messing with system prompts from anthropic - it's unclear how introducing changes impacts behavior |
bussard76
pushed a commit
to bussard76/openwork
that referenced
this pull request
May 12, 2026
Track explicit latest-view state so Jump to latest stays pinned correctly as new assistant messages stream, and reduce excess message-list bottom spacing to avoid large blank gaps in chat.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #832.
Thought I'd need to learn TypeScript for this, but simple English suffices. 🤷
Experimented for a while with different system prompts, and this one was the most concise one that worked.
Here are two examples:
A real-world example from one of my projects.
https://dev.opencode.ai/s/hmPNhxY6
AGENTS.md:codegen/rules/RULES.md:codegen/rules/github-workflows.md:https://dev.opencode.ai/s/hmPNhxY6
A simple one that I used to test this initially while working on this PR.
https://dev.opencode.ai/s/z1hfn6W1
AGENTS.md:rules/elixir.md:rules/general.md:With a more elaborate system prompt, I was able to have uppercase, but it's too much of the space in the context window wasted on just file references.
https://dev.opencode.ai/s/55t579g1
However, with that in
anthropic.txt, the other example didn't work until I explicitly mentioned that wasn't the way we deal with GitHub workflows.https://dev.opencode.ai/s/H80UKiOk
so in the end I think I should just write better rule files descriptions to make Claude load them when necessary.