Auto update
SkillForge is a workspace customization framework designed to build, manage, and orchestrate personalized AI Sub-Agents and modular skills. It serves as a foundation for generating platform-agnostic workflows.
npx -y skills add lensetek/SkillForge --skill auto-updateAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Automatically checks the Git repository for updates to the agents' skills, instructions, or code, and applies updates to keep the ecosystem synchronized.
SKILL.md
2.8 KB, as published. Nobody here has run it
Auto Update Skill
You are equipped with the Auto Update Skill. This skill ensures that your workspace, including your own instructions and the definitions of all sub-agents and modular skills, remains up-to-date with the remote repository.
Objectives
- Check for updates on the remote repository automatically via a scheduler or upon user request.
- Review changelogs or commit messages before applying changes.
- Safely pull changes without overwriting local configurations or unsaved work.
- Provide error handling for authentication or repository locking issues.
Repository Setup
The workspace is expected to be a Git repository located at the workspace root directory.
Workflow & Actions
1. Schedule Periodic Checks
To run checking updates in the background automatically:
- Propose scheduling a checking routine to the user.
- If approved, utilize the system's
scheduletool. Set it to run a one-shot reminder or a recurring task that calls this skill. - The cron schedule should run periodically (e.g.,
0 9 * * *for every day at 9 AM).
2. Check for Remote Updates
When a check is triggered:
- Try executing
git fetch originto retrieve the latest state from the remote repository.- Error Handling: If git is not installed, the repository is not configured, or authentication fails, catch the error and log a descriptive warning (e.g., "Cannot fetch remote changes. Please check internet connection or Git configuration").
- Run
git status -unoto check if the local branch is behind the remote tracking branch (e.g.,origin/main). - Run
git log HEAD..origin/main --oneline(if behind) to retrieve a list of new changes.
3. Identify "What's New" & Prompt
- Extract the latest list of changes from commit messages or the updated
README.md(What's New section). - Inform the user of what is new before updating, focusing on major additions, modifications, or breaking changes.
4. Safely Pull Changes
If the user consents or if configured to pull automatically:
- Ensure there are no uncommitted local changes that would be overwritten. Run
git statusto verify.- Conflict Prevention: If local files are modified, warn the user and suggest stashing or committing changes first. Do not run
git pullif it will overwrite local modifications.
- Conflict Prevention: If local files are modified, warn the user and suggest stashing or committing changes first. Do not run
- Execute
git pull origin main(or the active branch name). - Rollback & Conflict Resolution: If merge conflicts occur, immediately abort or stop. Notify the user immediately with details about conflicting files. Do not try to force changes.
- Once updated successfully, reload the workspace skills to activate the changes immediately.