Repository navigation
feat(setup): give instructions and skills one compact line each - #45
Merged
Merged
Conversation
Instructions & skills is two tabs, Instructions and Skills, each at its own address (#instructions, #instructions/skills); arrow keys move between them, and skills are only scanned when their tab is open. Instructions: - The shared AGENTS.md says how big it is and which agents read it, and offers Write until it exists, then Edit, with Delete in its menu. - Each agent has one choice that says itself: Shared AGENTS.md, its own CLAUDE.md or AGENTS.md, or Nothing, in place of the Shared, Separate and None buttons and the paragraph that explained them. Leaving its own file or reading nothing still asks; a cancelled or failed change shows the choice in effect again. Under its name a row adds only what the choice cannot: its own file's path, or that the shared file is not written yet. - The editors say what they edit and who reads it. Skills: - One line per skill, about 60px instead of 100: a monogram, its name and one line of description (whole on hover), and one control: a switch for Codex, the agent's own Visibility or Permission menu for Claude Code and OpenCode, or what is known for the rest. Pressing the name opens the skill with Edit and Remove, as before. - Add skill, Install from source and refresh move to the page's head; what a setting means for this agent is said once, under the list. Small selects now match the buttons beside them and keep 16px text on a phone. A row can show an icon in place of a monogram. The screenshots cover the Skills tab, and the guide describes the new controls. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dizys
force-pushed
the
ux/4-instructions
branch
from
October 19, 2026 07:37
698204f to
917338b
Compare
This was referenced Oct 19, 2026
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.
Last of four stacked PRs reworking the setup console's UX. Based on #44.
Instructions & skills (formerly Context) had the densest rows in the console. Each skill took about 100px: a badge, two lines of description, a metadata line, a labelled Visibility select, and Edit and View buttons. Fifteen skills ran to some 3,000px on a phone. Each agent's instructions had a Shared / Separate / None switch that needed a paragraph underneath to explain it.
Screenshots
Same sample data before and after (
scripts/fixtures/console), light theme; desktop at 1280 px, phone at 390 px. Click an image for full size.The README's picture is rebuilt from the new console too:
Two tabs, each at its own address
Instructions and Skills are tabs under the page header:
#instructionsand#instructions/skills, so either can be linked or bookmarked. Arrow keys move between them, as in any tab list. Skills are only scanned when their tab is open.Instructions
Shared instructions: the AGENTS.md row says how big it is and which agents read it ("1 kB · read by Claude Code and Codex"), or "Not written yet". Its action is Write until it exists, then Edit. Delete is in its menu.
What each agent reads: one choice per agent, worded so it explains itself:
Leaving a file of its own, or reading nothing, still asks first. A cancelled or failed change shows the choice in effect again. Under the name, the row only adds what the choice doesn't say: its own file's path, or that the shared file isn't written yet.
The editors say what they edit and who reads it ("Claude Code's CLAUDE.md · Only Claude Code reads this file"; "Shared AGENTS.md · Read by Claude Code and Codex").
Skills
One line per skill. A skill icon, the name and a one-line description (two on a phone) (the whole description shows on hover), and one control:
Pressing the name opens the skill as before, with its Markdown, location, Edit and Remove.
Agent picks whose skills are shown. Refresh, Install from source and Add skill sit beside it in the list's toolbar. Skill rows have no menus, so their controls line up with the toolbar's buttons.
What a setting means for that agent ("Each setting is this agent's own user policy…") is said once under the list, not above every list.
About 60px per skill, down from about 100px.
README and guide pictures
scripts/readme-media.jsrebuildsdocs/media/setup-{light,dark}.png(Overview on a desktop and Agents on a phone, mid-setup) anddocs/media/ports-panel.pngfrom the console itself, with sample data. These pictures were still of the old design.console-screens.jsmove toscripts/lib/console-fixtures.cjs. CONTRIBUTING says when to run it.Also
tc-select--sm) match the small buttons beside them, and keep 16px text on a phone so iOS doesn't zoom in.row.icon) in place of a monogram; AGENTS.md uses a file icon.scripts/console-screens.jsalso photographs the Skills tab.Test plan
node --test tests/*.test.mjs: 602 pass (updated: what each agent reads, who reads the shared file, Write vs Edit)scripts/readme-media.jsregenerated the README's two pictures and the Ports guide's from the consolescripts/ui-audit.js: no findings at 360, 390, 820, 1100 and 1440 px, and embedded at 390 and 1198Stack: #42 Foundations → #43 Structure → #44 Overview → #45 Instructions & skills
🤖 Generated with Claude Code