Skip to content

feat(skills): add skill info view, mention insertion, and path-free catalog - #68

Merged
Blankeos merged 2 commits into
mainfrom
skills-dialog-mentions
Oct 14, 2026
Merged

Blankeos merged 2 commits into
mainfrom
skills-dialog-mentions

Conversation

@Blankeos

Copy link
Copy Markdown
Owner
  • Skills dialog gains an info view (ctrl+i) with source open in the configured editor
  • Enter on a skill inserts @name at the cursor
  • Skill mentions get the same color as agent mentions; agent names win on collision
  • Skill catalog in the system prompt drops <location> paths; the skill tool loads bodies by name
  • Add estimate_skill_catalog_tokens for catalog token counts
  • Extract file actions (copy, reveal, open) into App::perform_file_action
  • Add title_note to Dialog for muted secondary header text

…atalog

- Skills dialog gains an info view (ctrl+i) with source open in the configured editor
- Enter on a skill inserts `@name` at the cursor
- Skill mentions get the same color as agent mentions; agent names win on collision
- Skill catalog in the system prompt drops `<location>` paths; the skill tool loads bodies by name
- Add `estimate_skill_catalog_tokens` for catalog token counts
- Extract file actions (copy, reveal, open) into `App::perform_file_action`
- Add `title_note` to `Dialog` for muted secondary header text
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-14T16:28:33.306678Z 325ca38 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Deploying crabcode with  Cloudflare Pages  Cloudflare Pages

Latest commit: f997178
Status: ✅  Deploy successful!
Preview URL: https://0b3b4df5.crabcode.pages.dev
Branch Preview URL: https://skills-dialog-mentions.crabcode.pages.dev

View logs

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 325ca38486

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +1848 to +1855
for skill in &autocomplete.skills {
if names
.iter()
.any(|name| name.eq_ignore_ascii_case(&skill.name))
{
continue;
}
names.push(skill.name.clone());

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve skill mention styling in submitted messages

This adds skill names only to the composer’s mention list. After an enabled skill is inserted or autocompleted and the message is submitted, rendering switches to Chat, but App::new_chat, chat_with_messages, and startup still give Chat only visible_agent_names_for_mentions(). Consequently @codebase-design is colored while drafting but loses its mention color in the rendered message and after session restoration; pass the eligible skill names into the chat mention list as well.

Useful? React with 👍 / 👎.

- Assert skill file paths and file:// URLs stay out of subagent and prompt skill guidance
- Add test that paste while skill info is open does not change the search query
- Verify long skill paths wrap after "/" and filenames stay on one line
- Drop assertions on title note, token estimate, and color inequality
@Blankeos
Blankeos merged commit 484c5b8 into main Oct 14, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant