skillcli

package
v0.0.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2026 License: Apache-2.0 Imports: 20 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package skillcli holds Physa's skill for a person's agent: the guide that teaches it to use Physa's commands and terms as Physa means them, embedded in the binary and never read from the repo, so upgrading Physa updates what every agent is told. The skill command group puts it in reach: show writes the guide exactly as it is, on any output, with no styling; setup writes a short stub into Claude Code's skills directory that tells the agent to run show, and adds a session hook to Claude Code's settings.json that runs the hidden session command when a session starts; status says whether the stub and the hook are current, stale or missing, and remove deletes the stub and takes out only Physa's hook entry. Setup and remove ask on a terminal and need --yes off one, and never overwrite, remove or follow a SKILL.md Physa did not write, or edit a settings.json Physa cannot read as JSON.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(current CurrentFunc) *cobra.Command

Command returns the skill group, reading the person's home directory and asking on the terminal. current reads the pursuit and change a session works on, for the hidden session command the session hook runs.

func Guide

func Guide() string

Guide is the guide a person's agent loads, as show prints it.

Types

type CurrentFunc added in v0.0.17

type CurrentFunc func(wd, session string) (pursuit, change string, err error)

CurrentFunc returns the pursuit and change a session works on in the repo that holds wd, read from the store and never from the engine. It returns empty names and no error when there is none, and an error when it cannot tell.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL