github / github/copilot-cli

Add an "end of session" hook that can run a process/skill

Open
#4,820 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

triage
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

Describe the feature or problem you'd like to solve

Need a way to auto run a process or skill at the end of a session pre /clear command

Proposed solution

Benefit it if you want to use the hook to run a standard list of tasks at the end of a session i.e. to capture what was done in the session. Today this is manually kicked off prior to running the /clear command

Example prompts or workflows

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the /clear command and any existing hook or skill execution entry points. Define the behavior needed for an end-of-session hook that runs before /clear and can invoke a process or skill; done means the configured workflow runs automatically at that point.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.