Proposal: support global and repo-local agent context sources
Prerequisites
- I searched open issues and this has not already been proposed.
- I searched discussions and this is not already being debated there.
- This is a concrete, actionable proposal — not a vague "it would be nice if..." request.
Area
Chat / Agent
Problem or Motivation
Odysseus currently has useful agent/workspace features, but developer workflows often depend on existing agent context that already lives outside Odysseus.
For coding and technical work, the model needs more than chat history or manually imported skills. It often needs a layered context model:
global instructions global reusable skills repo-local instructions repo-local skills project architecture/convention docs session-specific prompts
Many users do not keep all agent logic inside each repository. In my case, most reusable instructions and skills live in a global agent directory, while repo-level files only provide project-specific routing or overrides.
If Odysseus requires copying skills into its own data/ directory or manually recreating them through the UI, users end up maintaining duplicate knowledge in multiple places. That creates drift: the global instructions/skills evolve, but Odysseus keeps an outdated copy.
This limits Odysseus as a local AI workspace for engineering tasks. It becomes useful for chat/productivity, but less useful as an engineering intelligence layer that can bootstrap a local model with the same context used by other coding agents.
Proposed Solution
Add configurable agent context sources that Odysseus can read as live sources of truth.
Examples:
global instructions file/folder global .agents/skills repo-local AGENTS.md repo-local .agents/skills optional CLAUDE.md optional custom local files/folders optional project docs/instruction paths
These sources should be mounted/read by default, not copied into Odysseus data unless the user explicitly chooses an import/sync mode.
Suggested priority model:
- Odysseus system/runtime instructions
- User global instructions
- Global .agents/skills
- Repo AGENTS.md / CLAUDE.md
- Repo-local .agents/skills
- Session-specific instructions
The priority/order should be configurable because different users may want global rules to dominate repo rules, while others may want repo-local context to override global defaults.
Suggested UI:
Settings > Agent Context Sources
[ ] Odysseus internal skills [ ] Odysseus learned skills [ ] Global instructions file/folder [ ] Global .agents/skills [ ] Repo AGENTS.md [ ] Repo CLAUDE.md [ ] Repo-local .agents/skills [ ] Custom local folder/file
Each source could expose:
enabled/disabled global vs workspace scope read-only vs import copy priority order last scan time validation errors conflict handling
This would let Odysseus reuse existing agent instructions and skills instead of forcing users to manually recreate or duplicate them inside Odysseus.
Alternatives Considered
Manually recreate skills in the Odysseus UI
This does not scale for users who already maintain structured skills/instructions in files. It also creates duplicate sources of truth.
Import skills once into Odysseus data
This is better than manual creation, but still creates drift. The external skills can change while Odysseus keeps an outdated copy.
Store everything in repo-local AGENTS.md
This does not fit workflows where most reusable agent logic is global and shared across repositories. Repo-local files should be able to provide project-specific context, but they should not need to duplicate the entire global instruction/skill library.
Use Documents/RAG as a workaround
Documents/RAG can help with retrieval, but agent instructions and skills are not just passive documents. They need priority, scope, routing, conflict handling, and predictable injection into the agent context.
Prior Art / Related Issues
Related to #3365, but broader than local skill upload/import.
The main request here is support for global and repo-local context sources as live inputs to the agent, including instructions and skills, not only one-time skill import.
This also aligns with existing agent workflows where tools read files such as:
AGENTS.md CLAUDE.md .agents/skills/**/SKILL.md
The goal is to let Odysseus become more useful as an engineering intelligence layer for local AI workflows, not only as a productivity workspace.
Are you willing to implement this?
No — I am only filing the request
Source: odysseus-dev/odysseus