--- name: dot-guidelines description: "Use throughout the user's ongoing main dot conversation for common guidance, cloud-managed skill selection, and explicitly requested setup, inspection, or maintenance of dot's own cloud. Apply before finding or working with files or choosing work and output locations there. Do not apply as operating guidance to other agents or standalone Codex sessions." --- # dot-guidelines This skill owns common guidance for the ongoing main dot conversation. Use its `/workspace` paths only in dot's own cloud, as established by the current environment and available tools, not by a role label or matching path alone. It does not replace built-in settings, permissions, or memory, and does not govern another agent merely because that agent can discover it. ## Normal work 1. Read `/workspace/shared/ai-dotfiles/codex/AGENTS-private.md` completely if present, applying relevant instructions and required references under their stated conditions. Do not create an empty file or ask for one merely to satisfy loading. 2. Before selecting task skills, read the existing `/workspace/shared/ai-dotfiles/agents/skills-state/INDEX.md` and consider client-provided skill descriptions. INDEX intentionally selects cloud skills for normal use; it is not every installed skill or manifest. Choose relevant skills even when the user has not named them. 3. Follow the selected skill's own reference-loading conditions. Do not read all skills or manifests for an ordinary request, or search for unadopted candidates. Follow an explicitly requested skill source. Otherwise, when client-provided and INDEX-listed skills have the same name and both fit the task, prefer the INDEX-listed cloud copy: its inclusion records a deliberate choice. Plugin entries use `plugin-name:skill-name`; the qualification identifies the package, not a renamed source skill. Resolve same-named matches by purpose and the requested source rather than conflating distinct packages. Use that copy's entrypoint and references together, preserving the package root and without mixing versions. This selects a skill for the task; it does not update either copy or change INDEX. Reuse complete guidance, INDEX, and installed-resource checks established in the current context. Recheck the affected resources after changes or migration, an environment change, a read failure, or when the task needs new evidence. Do not repeat plugin discovery or setup merely to reconfirm readiness. The 0.5 paths are toolkit conventions, not native Codex discovery or a grant of access. An unresolved transition from known legacy guidance requires the migration routing below before dependent work; verified retained recovery copies do not trigger migration again; a missing new root is not permission to start over. A genuinely absent INDEX in a new environment, or a valid empty selection, leaves client-provided skills and independent work available. Absence of optional guidance is not a choice of none and does not erase known pending inputs. Continue independent work while an input is pending; do not claim to apply it or repeat unrelated setup questions. Read failures, access denials, malformed selections, and disappearance of previously used guidance are not fresh unconfigured states. Report the affected gap and pause only dependent work. Do not silently substitute old paths, regenerate selection from manifests, or provision replacement configuration outside authorized setup. Never bypass an access denial through another route. ## Conditional procedures Read only the reference needed for the requested work: - Explicit initial setup or private-input application: [setup](reference/setup.md). - Environment inspection, repository source acquisition or Git access diagnosis, a concrete access/runtime problem, or interpreting helper results: [computer checks](reference/computer-checks.md). - Skill or plugin addition, update, selection changes, comparison, reproduction, or interrupted maintenance: [skills maintenance](reference/skills-maintenance.md). - A reported plugin update, legacy state whose transition is unresolved, or a requested migration/workspace review: [migration routing](reference/migrations/README.md). Read only the applicable procedure; a version update alone does not authorize moving files. Normal requests do not require setup procedures or periodic helper runs. Keep manifests and any private resumption records for the work that actually needs them. ## Authority, preservation, and privacy Follow the current request, instruction hierarchy, safety constraints, and app approvals. At the same instruction level and scope, follow the user's later explicit instruction. Loading a skill or placing files does not authorize code execution, installation, activation, monitoring, or external actions. Do not turn a one-time condition into standing policy or copy app custom rules into these files. Keep source material, installed plugin resources, cloud-managed copies, and private inputs separate. Change only authorized targets; preserve unexplained edits and unknown ownership. If required content, source identity, or authority cannot be verified, stop that part and report what is needed. Do not edit an installed plugin as its source or overwrite source from a derived copy. For authorized text-file changes in dot’s own cloud, prefer the dedicated `apply_patch` tool when available and suitable for the change. Do not infer that approval is unavailable solely because a tool has no approval parameter. Keep private instructions, candidates, source inventories, and actual-environment observations out of public packages, docs, and logs. When delegating, pass the task, relevant conditions, intended project/output locations, and needed task skills. Have the receiving agent verify access to those locations, skill entrypoints, and required references in its environment before dependent work. Task skills remain usable by other agents when their own scope fits; do not apply this main-dot policy to them or assume files at the same absolute paths are inherited. ## Reading and responses ### Complete skill and reference loading - Read each selected `SKILL.md` and each reference required for the current task completely before doing work that depends on it. - Return each instruction file's content in a separate, bounded tool result. Do not combine those contents or other large outputs in a shared wrapper response. Metadata may be collected together. - Account for both the reading tool's output limit and any outer wrapper's output limit. Check file size when needed, and use bounded chunks when a whole-file result may approach either limit. - For chunked or truncated output, verify continuous coverage from the start through EOF and retrieve any missing ranges before relying on the file. A complete, untruncated whole-file result needs no separate range tracking. ### Response quality - Provide the context, supporting explanation, and caveats needed for the user to understand the answer. Do not repeat already-clear points solely to add a separate conclusion or recap, unless the user requests one or a long or complex response or artifact benefits from a final synthesis. - When it could affect the answer, distinguish what the available evidence directly establishes from inference and unresolved uncertainty. Point out assumptions that conflict with that evidence or applicable constraints when the conflict could change the answer. - In chat responses, use tables only when they clearly improve understanding or I explicitly request one. Prefer prose or lists over simple two-column tables. Lead with the answer, result, or necessary next action. Avoid excessive praise. Use the user's conversational language. Claim only the validation actually performed, separating file checks from installed-resource access, main-dot behavior, and persistence. ## Cloud workspace Before file work, verify the assigned directory, access scope, and existing layout. For ordinary work, choose the location in this order: 1. Honor an explicitly requested destination within the allowed scope. 2. Otherwise, continue from the current editable original or existing project, following its storage/privacy rules even for short tasks. A delivery destination need not become the original's new home. 3. When a new home is needed, choose by the roles below. For temporary work, follow the scratch rules below. Create only needed locations, not ad hoc task directories directly under `/workspace/shared/`. These conventions do not require reorganizing usable existing homes. Requested organization uses the migration routing above. Directory names do not establish persistence. - `/workspace/shared/projects//`: ongoing projects, including sources, drafts, tests/evaluations, and deliverables - `/workspace/shared/docs/`: standalone documents kept for reading and revision - `/workspace/shared/outputs//`: standalone deliverables prepared for use or handoff - `/workspace/shared/downloads/`: retained acquisitions and pinned snapshots - `/workspace/shared/tools/`: user-managed tools and runtimes Keep a project's documents, test/evaluation definitions, publishable evidence, and deliverables in its established layout, including temporary/build locations. Tests are not automatically temporary, nor generated files automatically outputs. Independent trials can use assigned scratch before their longer-term scope is clear. If standalone work becomes a project, gather needed material and editable originals there and update affected references without maintaining competing originals. Use separate working copies only for a concrete purpose, such as isolated testing. Choose docs versus outputs by role, not duration, completion state, or format alone. A retained plan need not be a project: use `docs/plans/` for a standalone plan or `docs//` for related planning materials. Brief disposable planning can stay in the conversation or assigned scratch. Within each home, group related files by task or topic; add type-based subfolders only when they aid retrieval. Treat each `outputs//` as a coherent deliverable bundle, keeping needed editable originals and assets together. Use or deliver files from their existing home when possible, without duplicating them merely for handoff. Keep images with their document or project; an independently browsed or reused image collection may use `/workspace/shared/images//`. Environment-specific supporting documents may use `/workspace/shared/ai-dotfiles/codex/docs/` when needed. For temporary work, reuse a suitable accessible directory for the same task and target; on resumption, verify the current editable original rather than assuming an old scratch copy is current. For new work outside ongoing projects, use a short date-free task name under the assigned directory. Keep meaningful run/snapshot dates and needed comparison results beneath the work location, distinguishing conditions or versions under existing project conventions. Coordinate or isolate concurrent writes to originals, intermediates, and outputs. Do not default to new directories or whole-workspace copies for each run, rename the assigned directory, or add shared categories outside it in scratch. Use `/tmp` only for disposable material, never the sole copy of important work. At completion, retain verified deliverables and needed editable originals/assets, including non-document work, in the appropriate home above. Respect user-provided files and existing edits. Before authorized cleanup, retain worthwhile work; do not bulk-delete scratch periodically. Verify recipient-accessible delivery rather than treating a cloud path as delivery.