Help screens and argparse utilities for the CLI.
This module is imported at CLI startup to wire -h actions into the
argparse tree. It must stay lightweight — no SDK or langchain imports.
Build a parent parser whose -h invokes help_fn.
This eliminates boilerplate: without the helper every add_parser
call would need its own three-line parent-parser setup. Used by both
main.parse_args and skills.commands.setup_skills_parser.
Show top-level help information for the deepagents CLI.
Show help information for the list subcommand.
Invoked via the -h argparse action or directly from cli_main.
Show help information for the reset subcommand.
Show help information for the skills subcommand.
Invoked via the -h argparse action or directly from
execute_skills_command when no subcommand is given.
Show help information for the skills list subcommand.
Show help information for the skills create subcommand.
Show help information for the skills info subcommand.
Show help information for the skills delete subcommand.
Show help information for the threads subcommand.
Invoked via the -h argparse action or directly from cli_main
when no threads subcommand is given.
Show help information for the threads delete subcommand.
Show help information for the threads list subcommand.