# Gf Agent Maintenance

> Skill: gf-agent-maintenance

- Skill: `tanaikech/gf-agent-maintenance` (Agent Skill)
- Install (CLI): `npx skillmds@latest add tanaikech/gf-agent-maintenance`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tanaikech/gf-agent-maintenance/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: tanaikech (https://skillmd.com/u/tanaikech)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tanaikech/gf-agent-maintenance

---

# Skill: gf-agent-maintenance

## Overview
This skill is used to maintain and update the `gf_agent` (Google Apps Script Local Automation Agent). It ensures the agent's internal skills, index, and documentation stay synchronized with the latest implementations in `gas-fakes`.

## Responsibilities
1. **Synchronize Skills**: Run `node gf_agent/scripts/builder.js` whenever `progress/` files are updated to refresh the agent's knowledge base.
2. **Update Documentation**: Analyze new test files in `test/` to extract usage patterns and add them to `gf_agent/documentation.md`.
3. **Verify Agent**: Ensure `gf_agent/SKILL.md` and `gf_agent/README.md` accurately reflect the current capabilities of the project.
4. **Package for Distribution**: Ensure the `gf_agent/` directory is self-contained and ready for download by users.

## Workflow
1. **Detect Changes**: Monitor `progress/` and `test/` for updates.
2. **Local Model Consultation**: Delegate log analysis, pattern extraction from tests, and drafts of documentation updates (`gf_agent/documentation.md`, etc.) to the local model via the `omlx/query_local_model` tool.
3. **Run Builder**: Execute the build script to regenerate markdown files.
4. **Refine Patterns**: If a new service or complex pattern is added to `test/`, document it in `gf_agent/documentation.md` using the local model's extracted patterns.
5. **Test/Verify the Agent**: Use the local model to simulate user requests, verify code generation, and ensure the agent performs as expected.

