Resolve issues where Memory, Skills, and Agents are not loaded due to file path or naming errors, priority overrides, or the need to reload.
This page helps troubleshoot issues where project instructions (memory), skills, and Agents are not loaded as expected.
When the project instructions file (default
Memory / project instructions not loaded
When the project instructions file (default AGENTS.md) is not loaded into the context:
- File name: Ensure the file name matches the
context.fileNameconfiguration (defaultAGENTS.md). - Discovery boundary: Upward search stops when it encounters a directory with
context.memoryBoundaryMarkers(default.git). Files outside this boundary will not be discovered. - Additional directories: By default, only the current directory is scanned. To load memory from additional trusted directories, enable
context.loadMemoryFromIncludeDirectories. - Discovery limit:
context.discoveryMaxDirs(default 200) limits the number of directories searched, which may be reached in very large repositories. - Folder Trust: Project content will not be loaded from untrusted directories.
- Use
/memoryto view the currently loaded memory sources.
Skills not loaded
- Use
/skillsto view the list of loaded skills. - Directory structure: Skills must be located in
skills/<name>/SKILL.md. Ensure the directory hierarchy and file names are correct. - Source Priority: The source priority for skills is built-in < plugins < project-level < user-level. When names conflict, higher priority overrides lower priority.
- Conditional Skill: Activated only when the file path matches; otherwise, it does not appear.
- Feature flag:
/skillsrequires skills support and administrator permissions to be enabled.
Agent not loaded
- Use
/agentsto view the loaded Agents. - Ensure the Agent definition file location and format are correct (definition files under the
agents/directory). - Check if
agents.overrideshas disabled the target Agent. - Additional definitions loaded via
--agentsare valid for this session only.
Reload
- After modifying definitions, reload by object: use
/memoryfor memory,/skills reloadfor skills, and/agents reloadfor Agents; use/commandsfor custom commands. - If the above methods do not work, restart Qoder CLI; some loading-related configurations are marked as "requires restart" and require a restart after modification.
Next steps
- Context and memory mechanisms: How Memory Works, Memory.
- Extension loading issues: Hooks, MCP, and plugin issues.
- Configuration issues: Configuration not applied.