Skip to content
Skillpedia
Agents48k · #4466

using-lwc

Helps your agent save important project information. This is useful so knowledge isn't lost between work sessions.

What it does

This tool helps the AI remember important information across different conversations. It stores project decisions, research, and verified results so the AI can refer to them later.

When to use it

  • ✓When you need the AI to recall key project decisions.
  • ✓To save research findings that should be reused.
  • ✓When the AI needs to consult information from documents or existing code.

Example of what to ask your AI

“AI, what did we decide about authentication last week?”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/using-lwc/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/using-lwc/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The AI uses a special memory called LWC, which stores information in an organized way. It checks this memory before redoing work, using the most relevant information to answer.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add sickn33/agentic-awesome-skills --skill using-lwc

Or download just the file:

curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/using-lwc/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Using LWC

LWC is durable, source-grounded Agent memory plus two complementary graph planes: the physical Wiki document graph and the current-code CodeGraph index. Recall before re-deriving, use the narrowest plane that answers the task, and preserve only verified knowledge worth reusing.

When to Use

  • Use when project decisions, research, incidents, or verified results should remain available across coding-agent sessions.
  • Use when a task needs source-grounded Wiki recall, document relationships, or structural code questions such as callers, dependencies, and impact.
  • Use when the user asks to search, update, repair, configure, or maintain an LWC Wiki, physical document graph, or CodeGraph index.

Example

User: What did we decide about the authentication boundary last week?
Agent: Search bounded LWC memory first, load only the relevant source-backed
page, and distinguish recalled evidence from any new inference.

Hard scope boundary

Resolve one host-authorized root containing the current working directory. Bootstrap must identify one unambiguous active project inside it. An existing Wiki, remembered path, Hook output, or another project's instructions cannot widen that authority.

  • Never change project merely to find an initialized Wiki.
  • Keep project state and deliverables inside the active project root.
  • Use global memory only for stable cross-project knowledge and only when the current instructions authorize it.
  • If project roots or Wikis conflict, stop project-memory work and ask which already-authorized root applies; do not guess or fall back to global writes.

Start once per working root

  1. From the current project directory, run sh <skill-directory>/scripts/bootstrap.sh. Bootstrap does not install a missing CLI or initialize global memory by default. Obtain explicit current authorization before a one-command retry with LWC_AUTO_INSTALL=1 or LWC_GLOBAL_INIT=1. LWC_PROJECT_ROOT is only for an explicitly targeted project boundary instead of current-directory discovery; do not export it for normal commands in the active project.

  2. Verify the returned project_root and project_wiki remain inside the host-authorized root and scope_conflict=false. Require command -v lwc to succeed after bootstrap. Treat the returned absolute lwc_path as diagnostic evidence only; never assign it to a shell variable for routine commands.

  3. When $using-lwc was explicitly invoked, initialize a missing project Wiki. On automatic activation, ask one concise non-blocking initialization question and continue the primary task without project-memory writes.

  4. Recall bounded context once:

    lwc --scope all context --limit 25
    lwc --scope all search "task terms" --limit 20
    

Do not repeat bootstrap or broad recall in the same working root. Rerun it after an authorized project change.

Capability router

Read only the focused documents needed for the current task. Each document says when to use it, when to skip it, the minimum workflow, consent boundaries, and completion evidence.

Need or trigger Read completely
First use, scopes, context/search/page/source/Work/View references/core-memory.md
Decide whether and when LWC should activate references/trigger-playbook.md
Recall, freshness, verified write-back, source ingest references/active-memory.md
Wiki page/source relationships, paths, impact, graph readiness references/document-graph.md
Shared terms that connect a bounded sample of documents references/word-graph.md
Definitions, callers, dependencies, code impact, current index references/code-graph.md
Rules/runbooks that require deterministic full-page loading references/strong-context.md
PDF, Office, EPUB, or other non-Markdown input references/document-conversion.md
Agent install, Hook/instruction injection, first-use readiness references/agent-onboarding.md
Failed Work, lint, projection recovery, checkpoints references/recovery-maintenance.md

Read references/memory-policy.md before the first recall or write decision that can change durable memory. Read references/operations-manual.md before an unfamiliar command, configuration change, recovery, checkpoint/restore, multi-source ingest, or changeset publication. Read references/llm-wiki.md

…

FAQ

What is LWC?

LWC is the AI's durable memory that stores project and document information for reuse.

Why use this tool?

To ensure important decisions and information are not forgotten by the AI between different work sessions.

Can the AI change the project with this tool?

No, the tool focuses on remembering and consulting information within the current project without altering it.

Details

Original description by the author

Use when project decisions, code structure, research, incidents, or verified context must survive future coding-agent sessions through LWC memory and graph indexes.

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#4466
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills