Skip to content

Can the skill suggest global as the preferred option on install? #10

Closed

Description

@edthedev

Context

Feedback from early tests - since we know that most users will want 'global' as the install option, can we put something in the skill that helps it decide?

Tasks

  • add some wording
  • give it a try

Activity

  1. added
    ensembleThis work will benefit from group collaboration during a team ensemble session
    good to goTask list is written
    on Oct 14, 2026
  2. edthedev commented on Oct 26, 2026

    @edthedev
    ContributorAuthor

    Per the -h flag, it looks like --all --scope user should work.

    USAGE
      gh skill install <repository> [<skill[@version]>] [flags]
    
    ALIASES
      gh skill add, gh skills add
    
    FLAGS
          --agent string        Target agent (see supported values above)
          --all                 Install all skills without prompting for skill selection
          --allow-hidden-dirs   Include skills in hidden directories (e.g. .claude/skills/, .agents/skills/)
          --dir string          Install to a custom directory (overrides --agent and --scope)
      -f, --force               Overwrite existing skills without prompting
          --from-local          Treat the argument as a local directory path instead of a repository
          --pin string          Pin to a specific git tag or commit SHA
          --scope string        Installation scope: {project|user} (default "project")
          --upstream            Install from the upstream source when a re-published skill is detected
    
  3. edthedev commented on Oct 26, 2026

    @edthedev
    ContributorAuthor

    It works.

    ~ $ gh skill install techservicesillinois/secdev-code-risk-tools --all --scope user
    Using ref main (2f61203a)
    Note: found 2 skill(s) at the repository root
    
    ! Skills are not verified by GitHub and may contain prompt injections, hidden instructions, or malicious scripts. Always review skill contents before use.
    
    
    ? Select target agent(s): GitHub Copilot
    ? Skill "[root] code-cost" already installed from techservicesillinois/secdev-code-risk-tools@refs/heads/main. Overwrite? Yes
    ? Skill "[root] code-risk" already installed from techservicesillinois/secdev-code-risk-tools@refs/heads/main. Overwrite? Yes
    ✓ Installed code-cost (from techservicesillinois/secdev-code-risk-tools@main) in .copilot/skills
    ✓ Installed code-risk (from techservicesillinois/secdev-code-risk-tools@main) in .copilot/skills
    
      code-cost/
      └── SKILL.md
      code-risk/
      └── SKILL.md
    
    ! Skills may contain prompt injections or malicious scripts.
      Review installed content before use:
    
        gh skill preview techservicesillinois/secdev-code-risk-tools code-cost@2f61203a7047fa3159fb461c45d4ebc2a5b68b8b
        gh skill preview techservicesillinois/secdev-code-risk-tools code-risk@2f61203a7047fa3159fb461c45d4ebc2a5b68b8b
    
  4. linked a pull request that will close this issueDefault to user scope. #17on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ensembleThis work will benefit from group collaboration during a team ensemble sessiongood to goTask list is written

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions