Using Agent Skills
addyosmani/agent-skills
Meta-skill for choosing which workflow skill fits the task at hand, plus always-on habits: surface assumptions, stop on confusion, push back, keep it simple and stay in scope.
Persist user preferences and styles across sessions. An agent skill from TyrealQ/q-skills.
$ npx skills add TyrealQ/q-skills --skill learn -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install TyrealQ/q-skills learn --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/TyrealQ/q-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/learn .claude/skills/learn && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "learn" agent skill from https://github.com/TyrealQ/q-skills/tree/main/skills/learn into .claude/skills/learn/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "learn", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/TyrealQ/q-skills/tree/main/skills/learnType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add TyrealQ/q-skills --skill learn -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install TyrealQ/q-skills learn --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TyrealQ/q-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/learn .agents/skills/learn && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "learn" agent skill from https://github.com/TyrealQ/q-skills/tree/main/skills/learn into .agents/skills/learn/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "learn", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add TyrealQ/q-skills --skill learn -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install TyrealQ/q-skills learn --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TyrealQ/q-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/learn .cursor/skills/learn && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "learn" agent skill from https://github.com/TyrealQ/q-skills/tree/main/skills/learn into .cursor/skills/learn/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "learn", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/TyrealQ/q-skills.git --path skills/learn--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add TyrealQ/q-skills --skill learn -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install TyrealQ/q-skills learn --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TyrealQ/q-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/learn .gemini/skills/learn && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "learn" agent skill from https://github.com/TyrealQ/q-skills/tree/main/skills/learn into .gemini/skills/learn/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "learn", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install TyrealQ/q-skills learnInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add TyrealQ/q-skills --skill learn -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/TyrealQ/q-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/learn .github/skills/learn && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "learn" agent skill from https://github.com/TyrealQ/q-skills/tree/main/skills/learn into .github/skills/learn/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "learn", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add TyrealQ/q-skills --skill learn -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install TyrealQ/q-skills learn --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TyrealQ/q-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/learn .opencode/skills/learn && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "learn" agent skill from https://github.com/TyrealQ/q-skills/tree/main/skills/learn into .opencode/skills/learn/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "learn", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
learnPersist user preferences and styles across sessions. An agent skill from TyrealQ/q-skills.
Learn is an agent skill from TyrealQ/q-skills. Persist user preferences and styles across sessions. Use for remember this, save preference, learn this, always do X, never do Y, from now on, update CLAUDE.md, update CM, forget X, what do you remember, or after repeated corrections in a session.
Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows, covering Agent instruction files. The repository describes itself as: End-to-end skills for academic writing, data analysis, teaching, and research communication. The licence is MIT.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit d8aaee7. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Learn loads about 2.7k tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 1,280 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from TyrealQ/q-skills at commit d8aaee7, republished under its MIT licence (© TyrealQ). 1,280 words, ~2,703 tokens.
.claude/skills/learn/SKILL.md (or your agent's skills folder).Extract preferences, styles, and behavioral patterns from the current conversation and persist them for all future sessions.
Scope: This skill captures how the user works, writes, and wants agents to behave. It does NOT capture code patterns, error fixes, or debugging techniques.
| Tier | Location | Loaded | Use for |
|---|---|---|---|
| User instructions | ~/CLAUDE.md | Every session, in full | Concise behavioral rules that apply to all projects |
| User rules | ~/.claude/rules/*.md | Every session (or on file match) | Structured rule sets on a single topic; optionally path-scoped |
| Project memory | ~/.claude/projects/<project>/memory/ | First 200 lines of MEMORY.md; topic files on demand | Project-specific conventions, domain context |
~/CLAUDE.md should stay under 200 lines. When it grows, move coherent rule groups to ~/.claude/rules/.
Review all user messages for extractable patterns. Use the phrase families below as signals — do not infer preferences from silence or context alone.
Explicit rules (highest priority, save immediately):
Corrections (save if repeated, see Step 2):
Positive reinforcement (save when the approach was non-obvious):
Domain context (save as user-tier facts):
Style edits (save as style rules):
Non-signals — skip these:
continuous-learning)A single off-hand correction is not a durable preference. Before promoting any pattern to later steps:
## Anti-Patterns below)If a tentative pattern has been corrected 3+ times across sessions (check existing ~/CLAUDE.md for near-duplicates), surface it in Step 6 with a "Confirm as permanent rule?" flag so the user decides explicitly.
~/CLAUDE.md in full. Parse the section hierarchy (it evolves — always re-read).~/.claude/rules/ to check existing rule files.~/.claude/projects/<project>/memory/MEMORY.md if it exists.For each extraction, search the already-loaded ~/CLAUDE.md and rule files for contradicting text. If a conflict is found:
## Conflicts heading and ask which supersedes which.~/CLAUDE.md); within the same tier, the newer instruction wins only after explicit approval.For each pattern that survived Steps 1–4, decide its tier:
| If the pattern... | Route to | Example |
|---|---|---|
| Is a concise rule for all projects | ~/CLAUDE.md — match to existing section or propose new ## section | "Never use em-dashes in emails" |
| Is part of 5+ rules on one topic | ~/.claude/rules/new-topic.md | A full set of workflow preferences |
| Is specific to the current project | Project memory | "TGL uses SDT framework with 1-7 scales" |
| Is already covered by an existing rule | Skip — note the existing rule | |
| Is a one-time correction | Skip |
Categories and typical tiers:
| Category | Typical Tier | Typical Location |
|---|---|---|
| Writing style | User instructions | ~/CLAUDE.md under ## Academic Writing subsections |
| Email conventions | User instructions | ~/CLAUDE.md under ## Email Drafting |
| Communication preferences | User instructions | ~/CLAUDE.md under ## Communication (create if needed) |
| Workflow preferences | User instructions or rules | ~/CLAUDE.md or ~/.claude/rules/workflow.md |
| Agent behavior | User instructions or rules | ~/CLAUDE.md or ~/.claude/rules/agent-behavior.md |
| Project domain context | Project memory | ~/.claude/projects/<project>/memory/ |
Show a numbered preview grouped by tier:
## Tier 1: User Instructions (~/CLAUDE.md)
### [1] Add to "## Academic Writing > ### Style" (existing section)
+ - Do not use semicolons to join independent clauses in academic prose
### [2] New section: "## Workflow" (after last existing ## section)
+ - When re-running a pipeline, first check what outputs already exist in cache
+ - Prefer flat directory structures keyed by ID over nested semantic hierarchies
## Tier 2: User Rules (~/.claude/rules/)
### [3] New file: ~/.claude/rules/communication.md
+ # Communication Preferences
+ - Lead with the answer, not the reasoning
## Tier 3: Project Memory
### [4] Add to project memory MEMORY.md
+ - TGL project uses SDT framework (autonomy, competence, relatedness) scored 1-7
## Skipped
- "Use precise terminology" → already in ~/CLAUDE.md ### Word Choice
Approve all? Or specify numbers to modify/reject.Tier 1 — ~/CLAUDE.md:
## heading level (same as ## Email Drafting)Tier 2 — ~/.claude/rules/:
# Headingpaths frontmatter only if the rules apply to specific file typesworkflow.md, communication.md)Tier 3 — Project memory:
~/.claude/projects/<project>/memory/MEMORY.md as index, topic files for detailsConfirm all changes applied.
The skill can also answer questions about what has already been remembered, without writing anything. Trigger phrases:
| User says | Action |
|---|---|
| "What do you remember about me?" / "Show preferences" | Summarize ## sections in ~/CLAUDE.md + list ~/.claude/rules/*.md files with one-line descriptions |
| "What's in [topic]?" | Quote the matching section verbatim with its file path and line range |
| "Forget X" | Locate X across all three tiers, show the exact lines, and ask for confirmation before deletion |
| "What did you learn this session?" | List entries added in the current session only |
Query mode is read-only — only "Forget X" writes, and only after explicit confirmation. Never infer intent: if the request is ambiguous, ask before reading.
Common failure modes this skill must avoid. When any of these fire, skip the extraction and do not save anything.
| Trap | Why it fails | Correct move |
|---|---|---|
| Inferring from silence | User didn't object ≠ user approved | Wait for explicit correction or repeated evidence |
| Promoting after one mention | Fabricated rules pollute ~/CLAUDE.md | Require explicit framing ("always…", "never…") or 2+ repetitions (see Step 2) |
| Learning from hypotheticals | "What if I wanted X?" is a question, not a preference | Skip unless the user commits to the framing |
| Learning third-party preferences | Belongs to someone else, may be wrong for current user | Only capture first-person statements |
| Over-generalizing from narrow context | "For this one file" becomes a global rule | Preserve the scope in the saved entry, or route to project memory |
| Learning style over substance | Echoing Claude's own phrasing back as rules | Save the behavior the user demanded, not metacommentary about it |
| Silently rewriting an existing rule | User loses the audit trail | Surface as a conflict in Step 4; get explicit approval |
## Anti-Patterns above)~/CLAUDE.md would exceed 200 lines after changes, warn and suggest moving content to ~/.claude/rules/~/CLAUDE.md must use ## level to maintain flat hierarchyThis skill does NOT:
CHANGELOG.md, README.md, or git historycontinuous-learning's job)© TyrealQ, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/learn of TyrealQ/q-skills.
Open the folder on GitHubat commit d8aaee7
Learn next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Learn this skillTyrealQ/q-skills | 108 | — | ~2.7k | Automated safety check: Pass | MIT | |
| Using Agent Skillsaddyosmani/agent-skills | 102k | 4 repos | ~2.4k | Automated safety check: Pass | MIT | |
| Claude ReflectBayramAnnakov/claude-reflect | 1.7k | 2 repos | ~627 | Automated safety check: Pass | MIT | |
| Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills | 21k | — | ~1.9k | Automated safety check: Pass | MIT | |
| Task Observerrebelytics/one-skill-to-rule-them-all | 3.2k | 1 repos | ~12k | Automated safety check: Pass | CC-BY-4.0 | |
| Writing For Agentsbestofjs/bestofjs | 3.1k | 17 repos | ~2.7k | Automated safety check: Pass | MIT |
addyosmani/agent-skills
Meta-skill for choosing which workflow skill fits the task at hand, plus always-on habits: surface assumptions, stop on confusion, push back, keep it simple and stay in scope.
BayramAnnakov/claude-reflect
Self-learning system that captures corrections during sessions and reminds users to run /reflect to update CLAUDE.md.
KKKKhazix/khazix-skills
Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.
rebelytics/one-skill-to-rule-them-all
Monitors task execution for skill improvement opportunities.
bestofjs/bestofjs
Writing documents for agents. An agent skill from bestofjs/bestofjs.
microsoft/SkillOpt
Runs an on-demand or nightly sleep cycle that reviews past Claude Code sessions and proposes validated updates to CLAUDE.md and skills.
TyrealQ/q-skills
Converts a report or other document into a business story and then an infographic image, pausing for your review after each step.
TyrealQ/q-skills
Runs exploratory data analysis on tabular data after you confirm each column's measurement level, then writes CSV tables and a narrative summary.
TyrealQ/q-skills
Extracts pixel, video-frame, speech, music and visual-semantic features from image, video and audio files for research datasets, using local tools or the Gemini API.
TyrealQ/q-skills
Consolidates BERTopic, LDA or NMF topic output into a theory-driven classification framework and writes the final labels back to an Excel file.
TyrealQ/q-skills
Generates branded slide deck images from written content, with a content analysis step, a layout catalog and scripts that merge the slides into PowerPoint or PDF.
TyrealQ/q-skills
Audits a repository's file layout and project documentation against a written convention file, then proposes moves, deletions and doc fixes as an approved plan before touching anything.
Categories
Persist user preferences and styles across sessions. An agent skill from TyrealQ/q-skills. Learn is an agent skill from TyrealQ/q-skills. Persist user preferences and styles across sessions.
Learn fits situations like: save preference; update CLAUDE.md; what do you remember; after repeated corrections in a session.
Run `npx skills add TyrealQ/q-skills --skill learn -a claude-code`. Or copy the skill folder (skills/learn in TyrealQ/q-skills) into .claude/skills/learn in your project. Claude Code loads it when a task matches its description.
Run `npx skills add TyrealQ/q-skills --skill learn -a codex`. Or copy the skill folder (skills/learn in TyrealQ/q-skills) into .agents/skills/learn in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TyrealQ/q-skills --skill learn -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/learn, .gemini/skills/learn, .github/skills/learn and .opencode/skills/learn in your project.
SKILL.md names no scripts, command-line tools or credentials: Learn is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Learn is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Learn: Using Agent Skills (addyosmani/agent-skills, 102k stars), Claude Reflect (BayramAnnakov/claude-reflect, 1.7k stars), Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars) and Task Observer (rebelytics/one-skill-to-rule-them-all, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
TyrealQ (a GitHub user) maintains it in TyrealQ/q-skills, which has 108 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on September 23, 2026.
Source: TyrealQ/q-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.