HUSK

Session Tools

Tools for exploring projects, sessions, and observations.

list_projects

List all known projects (distinct git remotes) that have been used with HUSK.

Parameters

None.

Response

{
  "projects": [
    "git@github.com:example/repo-a.git",
    "git@github.com:example/repo-b.git"
  ]
}

session_context

List recent sessions as a compact index. Returns session IDs, dates, project, status, observation count, files modified, and a short summary preview.

Use get_session_detail to fetch full details for interesting sessions.

Parameters

ParameterTypeRequiredDescription
projectstringNoFilter by project (git remote or cwd)
limitinteger (1–20)NoNumber of sessions to return. Default: 5

Response fields

FieldDescription
session_idUnique session identifier
projectGit remote or working directory
statusSession status (active, ended, etc.)
started_atISO timestamp
ended_atISO timestamp (null if still active)
observation_countNumber of observations recorded
files_modifiedList of files touched during the session
summary_previewFirst 120 characters of the session summary

get_session_detail

Get full details for a specific session, including the complete summary and all observations.

Use session_context first to find relevant session IDs.

Parameters

ParameterTypeRequiredDescription
session_idstringYesThe session ID to retrieve

Response

Returns the full session object with:

  • Complete summary (parsed into structured sections)
  • All observations with event type, tool name, timestamps
  • Files modified across the session
  • Prompt and tool input summaries per observation

get_observation

Get a single observation by ID with full content including tool input and response data.

Observation IDs are returned by get_session_detail.

Parameters

ParameterTypeRequiredDescription
idstringYesThe observation ID

Response

Returns the observation with:

  • event — event type
  • tool_name — which tool was called
  • prompt — the user's prompt (if captured)
  • tool_input — what was sent to the tool
  • tool_response — what the tool returned
  • files_modified — files touched by this observation

On this page