Skip to content

Added support to scan for custom project/local path#15

Merged
Dimillian merged 5 commits intoDimillian:mainfrom
lRoMYl:feature/custom-projects
Jan 9, 2026
Merged

Added support to scan for custom project/local path#15
Dimillian merged 5 commits intoDimillian:mainfrom
lRoMYl:feature/custom-projects

Conversation

@lRoMYl
Copy link
Copy Markdown
Contributor

@lRoMYl lRoMYl commented Jan 9, 2026

Skills allows project based path as defined here alongside the global personal path.

This PR aims to provide the user flexibility to provide a custom path to discover/scan for skills for those project path instead of just showing the users global skills.

However, due to the nature of how project path only being accessible when initialised with the specific current working directory (cwd), the user experience should be designed differently from how global skills are managed / discovered.

My proposal:

  1. Allow user to define multiple custom path to their own projects. Automatic project path discovery would be too excessive and resource intensive while providing too little values.
  2. Users are not allowed to select the skills individually or choose which agent to add the skills to, the app would instead perform perform auto discovery based on known skills paths. This would align with how Agent discover skill, not much values to allow user to selectively hide certain skills while the agent is still going to discover it.
  3. Provide an option to remove delete or open the project path
  4. Group all custom path skills under as a separate section and display the path prominently so it's clear where those skills can be accessed.

Step 1
Add Custom Path option

Step 2
Custom Path Side Menu

Step 3
Custom Path Header Actions

@lRoMYl lRoMYl force-pushed the feature/custom-projects branch from 5331948 to b1773c1 Compare January 9, 2026 10:12
@Dimillian
Copy link
Copy Markdown
Owner

@codex review

@Dimillian
Copy link
Copy Markdown
Owner

This is really good, thanks! I'll merge and then make a few tweaks.

Copy link
Copy Markdown

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

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: 02c203f1f8

ℹ️ 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 thread Sources/CodexSkillManager/Skills/Local/SkillStore.swift Outdated
Updated the skill grouping logic in SkillStore to consistently use filteredSkills instead of allSkillsForSlug. This ensures that platform selection, installed platforms, and delete IDs are limited to the filtered scope, improving accuracy in custom path sections.
@Dimillian
Copy link
Copy Markdown
Owner

@codex review

Copy link
Copy Markdown

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

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: 531c986a23

ℹ️ 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 thread Sources/CodexSkillManager/Skills/Sidebar/SkillListView.swift Outdated
Refactored skill grouping logic to ensure user directory (platform) skills are not hidden by custom path skills with the same slug. Updated SkillStore and SkillListView to use the new grouping method, and added tests to verify correct grouping behavior.
Enhanced the logic for determining the correct folder URL to open for a selected skill, adding more robust matching and a fallback path. This ensures the correct folder is opened even in edge cases where skill attributes or custom paths differ.
@Dimillian Dimillian merged commit ea0dfd2 into Dimillian:main Jan 9, 2026
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.

2 participants