Skip to content

Activating skill doesent work #445

Description

@ForthtuN

It says to activate skill type "Activate a skill by typing its slash command (e.g. /optimization)."
when doing
/optimization
it gives "Unknown skill: /optimization"

The same goes for the other skills like firefox-browser.

Telling the agent to activate those skills seems like a huge deal and they have difficulty in doing so.

Eventually got it somehow working and asked ai to summarize how it managed, this is what it said

Summary
The documentation and the endorsed skills list show /firefox-browser as a built‑in skill that should be usable simply by typing the slash‑command (e.g., /firefox-browser status). In a fresh JCode installation the skill is missing – the required SKILL.md file is not present in any of the skill lookup directories, so attempting to load or invoke the skill fails with “Unknown skill: /firefox-browser” (or “Skill ‘firefox-browser’ not found”).

Steps to Reproduce

1. Start a fresh JCode session (no prior skill modifications).
2. Run skill_manage list – observe that /firefox-browser appears under “Endorsed skills (recommended by jcode)” with the status [not installed].
3. Try to load or use the skill:
┌─ bash 
│ skill_manage load firefox-browser
│ # or
│ /firefox-browser status
└─
Both commands return an error indicating the skill cannot be found.

Expected Behavior
Since the skill is advertised as bundled with JCode, running skill_manage load firefox-browser (or invoking the slash‑command) should succeed without any manual file creation, and the skill should appear under “Loaded skills” immediately after the load command.

Actual Behavior

• The skill directory (~/.jcode/skills/firefox-browser/) exists but is empty (no SKILL.md).
• No copy of the skill exists in ~/.agents/skills/ (the location skill_manage scans for loadable skills).
• Consequently, skill_manage load firefox-browser fails with “Error: Skill ‘firefox-browser’ not found”, and slash‑command invocation yields “Unknown skill: /firefox-browser”.

Root Cause
The Firefox‑browser skill is declared in the endorsed‑skills list, but the corresponding SKILL.md file is not shipped with the default JCode distribution. The skill‑loading mechanism looks for files under ~/.agents/skills/  (or ~/.jcode/skills/). Because the file is missing, the skill cannot be loaded.

Work‑around (for reference)

1. Create the missing skill file:
┌─ markdown 
│ ---
│ name: firefox-browser
│ description: Control Firefox browser sessions
│ allowed-tools: bash, read, write
│ ---
│ Use this skill to open sites and click buttons.
└─
Save it as ~/.jcode/skills/firefox-browser/SKILL.md.
2. Copy it to the active skills folder:
┌─ powershell 
│ Copy-Item -Path 'C:\Users\<user>\.jcode\skills\firefox-browser\SKILL.md' -Destination 'C:\Users\<user>\.agents\skills\firefox-browser\SKILL.md' -Force
└─
3. Reload skills: skill_manage reload_all (or skill_manage load firefox-browser).
After these steps /firefox-browser works as expected.

Requested Fix
Include the firefox-browser/SKILL.md file in the default JCode distribution (or ensure the skill‑installation process places it in ~/.agents/skills/firefox-browser/) so that the skill is immediately loadable without manual intervention

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions