跳到正文
cccskills
免费在 GitHub 公开

atlas-self-configure

Inspect and update Atlas preferences in config.toml using the explanations and constraints written in the file. The skill guides agents through explaining changes, editing only relevant lines, saving safely, and checking the result.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Inspect and safely update Atlas user preferences through Atlas's config.toml.

实测评分 未实测

查看安装方法

适用场景

  • Inspect current Atlas preferences
  • Change a setting within its allowed values
  • Clear an optional setting
  • Update preferences while preserving comments and formatting

包含的文件(1)

  • SKILL.md5.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Atlas self-configure

Atlas's user-facing preferences live in one human-editable file, config.toml. This skill is how you (an agent) read and change it safely — without touching anything else Atlas persists.

Where the file lives

~/.config/atlas/config.toml

The same path on every platform. If $XDG_CONFIG_HOME is set to an absolute path, it's $XDG_CONFIG_HOME/atlas/config.toml instead — check that variable before assuming.

Editing that file is the supported mechanism, and the only one available to you: Atlas's config commands are IPC endpoints reachable from its own UI, not agent tools. Atlas watches the file and validates every change you make (see step 6 below), so a direct edit is a first-class way in — not a workaround.

If the file does not exist yet, Atlas hasn't created it (a fresh install before first launch, or the user deleted it). Do not create one speculatively — report that to the user instead of guessing at defaults.

One project only: the project's own config.toml

A project can override a few keys for itself in a config.toml inside the project's .atlas/ directory. Use it only when the user asks for a change in this project rather than everywhere. Its header says what it is; the rules:

  • It holds only the keys the project changes. The allowed keys are the ones whose comment in the global file says a project can override it. Atlas ignores any other key there.
  • Some of those a project can only turn off (the comment says "never on"). If the user wants one on for a single project while it's off everywhere else, say that Atlas won't honour it and stop.
  • Delete a key's line to go back to the global value.
  • The same care applies as below: read first, explain, change only your lines, write atomically. It may not exist yet; unlike the global file, creating it is fine — start it with schemaVersion = 1 and [settings].

The schema is in the file

Atlas writes a comment above every key: what it does, its default, and any constraint on its value — a numeric range, an exact set of allowed strings, "must not be empty". Read those comments and follow them. They are generated from the same table Atlas validates against, so they cannot drift from what it will actually accept.

Do not work from a schema you remember, or from one you saw in another project. The file in front of you is authoritative, and it is the only thing guaranteed to match the Atlas build the user is running.

Two things the comments won't spell out:

  • A key that isn't there. Some settings mean "unset" by being absent — TOML has no null. The comment for such a key sits above whichever key follows it, so read the whole [settings] block, not just the lines with values on them. To clear one of these, delete its line; never write an empty string.
  • A key Atlas doesn't recognize. It's preserved untouched and reported to the user as a diagnostic. Never delete a key you don't recognize.

Making a change

  1. Read the whole file first. You need its comments and formatting to avoid disturbing them, and you need the target key's comment to know what a valid value even is.

  2. Explain what you're about to change to the user before writing: the key, its current value, the new value, and what it does — quoting the file's own comment. Don't silently flip a setting.

  3. Change only the line (or few lines) you mean to change. Leave every other key, comment, and blank line exactly as it was — including the comment above the key you're editing, which is Atlas's to rewrite, not yours. Do not reformat, reorder, or re-indent anything:

     # Inline git blame — a dim author/age/summary annotation trailing the
     # active line in the editor. (default: true)
    -someSetting = true
    +someSetting = false
    
  4. Validate the value against that key's comment before writing. If the comment states a range or a fixed set of values and the user asked for something outside it, say so and stop; don't write it and let Atlas reject it.

  5. Write atomically: write your edited content to a new file in the same directory (e.g. config.toml.tmp.<random>), then rename/move it over config.toml. Never edit in place — a crash or a concurrent Atlas reload mid-write must not leave a half-written file behind.

  6. Re-read the file after writing to confirm your change landed.

Atlas re-validates the whole file whenever it notices a change, live, no restart. An invalid edit is rejected entirely and Atlas keeps running on the last good settings — but the file stays as you wrote it, and while it's invalid Atlas also refuses every settings write from its own UI, until someone repairs it or uses "Recreate defaults" (which overwrites it, keeping a .bak-<unix-seconds> copy). So a bad write is not free: report it and offer to restore the exact content you read in step 1, rather than trying to patch your way out.

What this skill must never touch

  • API keys, tokens, or any credential — Atlas doesn't store these in a file it owns at all; they live in the user's own shell profile. Never write secrets into config.toml.
  • state.json, device.json, telemetry.json — separate files with separate ownership; not in scope for this skill.
  • The user's shell profile (~/.zshrc and similar).
  • Atlas's own binary, packages, or update mechanism. "Self-configure" means preferences only, never self-update.
  • Session history, transcripts, or any other per-project .atlas/ state — none of that is a "setting". Only .atlas/config.toml is.

If a request needs any of the above, say so plainly and stop — it's out of scope for this skill, not something to work around.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

remember

免费

Save established decisions, project facts, failed approaches, and system architecture to Atlas shared memory. The skill checks existing entries to avoid duplicates and creates self-contained records that other agents and future sessions can use.

中文简介正在准备中。当前显示英语简介。

  • Carry decisions and their reasons into future sessions
  • Share project facts and conventions with other agents
  • Record failed approaches to avoid repeating them
pacifio/atlas95992026年10月23日 更新

查看 pacifio 的全部技能

报告此技能的问题