CLI commands for skill management.
Accepted internal output modes for CLI subcommands.
Process-wide path snapshot captured before any dotenv loader can run.
Create the project-level dcode skills directory.
Create the user-level skills directory for an agent.
Return the directory containing skills bundled with dcode.
Return the project-level tool-agnostic .agents/skills directory.
Return the project-level dcode skills directory, when in a project.
Return the launch user's tool-agnostic ~/.agents/skills directory.
Return the user-level skills directory for an agent profile.
Setup the skills subcommand parser with all its subcommands.
Each subcommand gets a dedicated help screen so that
deepagents skills -h shows skills-specific help, not the
global help.
Execute skills subcommands based on parsed arguments.
LangChain brand colors and semantic constants for the app.
Single source of truth for color values used in Python code (Rich markup,
Content.styled, Content.from_markup). CSS-side styling should reference
Textual CSS variables: built-in variables
($primary, $background, $text-muted, $error-muted, etc.) are set via
register_theme() in DeepAgentsApp.__init__, while the few app-specific
variables ($mode-bash, $mode-command, $mode-incognito, $skill,
$skill-hover, $tool, $tool-hover) are backed by these constants via
App.get_theme_variable_defaults().
Code that needs custom CSS variable values should call
get_css_variable_defaults(dark=...). For the full semantic color palette, look
up the ThemeColors instance via get_registry().
Users can define custom themes in ~/.deepagents/config.toml under
[themes.<name>] sections. Each new theme section must include label (str);
dark (bool) defaults to False if omitted (set to True for dark themes).
Color fields are optional and fall back to the built-in dark/light palette based
on the dark flag. Sections whose name matches a built-in theme override its
colors without replacing it. See _load_user_themes() for details.