Agent skill

Fantasia Document Workspace Edit State

by vishiri in vishiri/fantasia-archive

Per-tab editState on opened workspace documents: preview (read-only) vs edit (inputs).

GPL-3.0Auto-check passedAgent Workflows

Install Fantasia Document Workspace Edit State

skills CLI
$ npx skills add vishiri/fantasia-archive --skill fantasia-document-workspace-edit-state -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install vishiri/fantasia-archive fantasia-document-workspace-edit-state --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/vishiri/fantasia-archive.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/fantasia-document-workspace-edit-state .claude/skills/fantasia-document-workspace-edit-state && rm -rf skills-src

Use ~/.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/

Facts

Skill name
fantasia-document-workspace-edit-state
GitHub stars
409
Token cost
~863 tokens
SKILL.md length
231 words
Files
1
Skills in repo
35
Repo updated
First seen
Licence
GPL-3.0

At a glance

Per-tab editState on opened workspace documents: preview (read-only) vs edit (inputs).

  • Adding DocumentWorkspacePage fields
  • SKILL.md covers Product rule, Data, Pure domain and UI pattern —…, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tab session state

What it does

Fantasia Document Workspace Edit State is an agent skill from vishiri/fantasia-archive. Per-tab editState on opened workspace documents: preview (read-only) vs edit (inputs). Use when adding DocumentWorkspacePage fields, tab session state, or openeddocuments snapshot columns.

Its SKILL.md is about 860 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 Session handoff. The repository describes itself as: A world-builder's best friend! The licence is GPL-3.0.

When your agent uses it

  • Adding DocumentWorkspacePage fields
  • Tab session state
  • Openeddocuments snapshot columns

Example prompts

  • “/fantasia-document-workspace-edit-state”

What it can do on your machine

Read from SKILL.md and the folder at commit 26d4648. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are vue).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Fantasia Document Workspace Edit State loads about 863 tokens when it runs. Until then it costs about 57 tokens; SKILL.md has 231 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~57
When it runs · the whole SKILL.md, loaded when a task matches
~863

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from vishiri/fantasia-archive at commit 26d4648, republished under its GPL-3.0 licence (© vishiri). 231 words, ~863 tokens.

Download SKILL.mdSave it as .claude/skills/fantasia-document-workspace-edit-state/SKILL.md (or your agent's skills folder).
name
fantasia-document-workspace-edit-state
description
Per-tab editState on opened workspace documents: preview (read-only) vs edit (inputs). Use when adding DocumentWorkspacePage fields, tab session state, or opened_documents snapshot columns.

Document workspace editState

Product rule

Opened document tabs distinguish preview mode (browsing, read-only) from edit mode (editing). Default = preview (editState: false).

Users should see document content without accidental edits until they explicitly enter edit mode (toggle UI future work).

Data

PieceLocation
Tab fieldI_faOpenedDocumentTab.editState — types/I_faOpenedDocumentsDomain.ts
Default constantFA_OPENED_DOCUMENT_DEFAULT_EDIT_STATE (false)
New tab seedcreateFaOpenedDocumentTabFromOpenMeta in faOpenedDocumentsStoreActions.ts
PersistfaOpenedDocumentsSnapshotSchema — editState per tab; Zod .default(false) for legacy JSON
StoreS_FaOpenedDocuments — session + debounced SQLite write

Pure domain

src/scripts/openedDocuments/functions/openedDocumentEditStateDomain.ts

Use these in managers / store wiring; inject into page composable factories (level-1 functions/ cannot value-import project modules).

UI pattern — DocumentWorkspacePage

documentShowsPreview  → read-only blocks (h4 title for name today)
documentShowsEditFields → q-input and future editors

Both derive from active route tab editState via createUseDocumentWorkspacePage.

New field template
vue
<section v-if="documentShowsPreview" data-test-locator="documentWorkspacePage-<field>-preview">
  <!-- read-only value -->
</section>
<q-input
  v-if="documentShowsEditFields"
  data-test-locator="documentWorkspacePage-<field>-input"
  ...
/>

Replace <field> with stable test slug. Keep preview and edit locators distinct.

Tests

  • openedDocumentEditStateDomain.vitest.test.ts — flags + display name + normalize
  • createUseDocumentWorkspacePage.vitest.test.ts — preview vs edit visibility
  • Tab fixtures: always include editState: false unless testing edit branch

Control bar strip (FA 1.0 parity)

ProjectAppControlBar fixed strip projectAppControlBar__wrapper / __right:

ButtonIconVisible whenColor
Editmdi-file-document-editPreview + document route + active tabprimary-bright outline
Save without exiting edit modemdi-content-save-editEdit modeprimary-bright if clean, teal-14 if hasUnsavedChanges
Savemdi-content-saveEdit modesame as save-without-exit

Store: enterDocumentEditMode, saveDocumentDisplayName(documentId, { keepEditMode }) — save uses projectContent.updateDocument, queues S_FaProjectHierarchyTree.refreshDocumentsInTree (tree session reloads sibling bucket + re-applies expand state), exits preview when keepEditMode: false.

Not in scope yet

  • Auto-enter edit on double-click / keybind
  • Separate per-field edit locks (single tab-level editState for now)

© vishiri, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .cursor/skills/fantasia-document-workspace-edit-state of vishiri/fantasia-archive.

Open the folder on GitHubat commit 26d4648

Compare with similar skills

Fantasia Document Workspace Edit State 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.

Fantasia Document Workspace Edit State compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fantasia Document Workspace Edit State this skillvishiri/fantasia-archive409—~863Automated safety check: PassGPL-3.0
Orca CLIstablyai/orca89k2 repos~593Automated safety check: PassMIT
Beads Task Memorygastownhall/beads28k—~1.2kAutomated safety check: PassMIT
Session History Searchslopus/happy24k—~3.1kAutomated safety check: PassMIT
Paseo Agent Handoffgetpaseo/paseo20k1 repos~606Automated safety check: PassCustom licence
Memori Long-Term MemoryMemoriLabs/Memori17k—~2kAutomated safety check: NotesCustom licence

Similar skills

  • Orca CLI

    stablyai/orca

    Operate Orca-managed worktrees, folder contexts, terminals, repos, automations, artifacts, skill sharing, worktree comments, and Orca's embedded browser…

    89k GitHub starsUsed in 2 repos~593 tokens
    Agent WorkflowsAuto-check passed
  • Beads Task Memory

    gastownhall/beads

    Tracks multi-session work with dependencies in the bd issue tracker so the agent can find ready tasks and recover its context after conversation compaction.

    28k GitHub stars~1.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Searches past Claude Code, Codex and Cursor sessions and summarizes what was worked on, tried or decided, using extraction scripts instead of reading raw logs.

    24k GitHub stars~3.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Paseo Agent Handoff

    getpaseo/paseo

    Hands off the current task, including context, decisions and failed attempts, to a fresh agent through Paseo by writing a self-contained briefing prompt and launching that agent.

    20k GitHub starsUsed in 1 repo~606 tokens
    Agent WorkflowsAuto-check passed
  • Memori Long-Term Memory

    MemoriLabs/Memori

    Connects Claude Code to Memori Cloud for long-term memory, recalling stored context before substantive replies and saving new context afterward.

    17k GitHub stars~2k tokensUpdated 8 days ago
    Agent WorkflowsAuto-check: notes
  • Beads

    liwp/again

    A skill your agent uses when working in a repository that uses bd or Beads for durable project task tracking, issue dependencies, blocker management, multi-session handoff, or shared work memory.

    118 GitHub starsUsed in 6 repos~537 tokens
    Agent WorkflowsAuto-check passed

More from vishiri/fantasia-archive

All 35 skills in this repo
  • Caveman Commit

    vishiri/fantasia-archive

    Ultra-compressed commit message generator. An agent skill from vishiri/fantasia-archive.

    409 GitHub starsUsed in 13 repos~642 tokens
    Auto-check passed
  • Caveman Review

    vishiri/fantasia-archive

    Ultra-compressed code review comments. An agent skill from vishiri/fantasia-archive.

    409 GitHub starsUsed in 12 repos~674 tokens
    Auto-check passed
  • Caveman Compress

    vishiri/fantasia-archive

    Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens.

    409 GitHub starsUsed in 9 repos~1.1k tokens
    Auto-check: notes
  • Cavecrew

    vishiri/fantasia-archive

    Decision guide for delegating to caveman-style subagents. An agent skill from vishiri/fantasia-archive.

    409 GitHub starsUsed in 7 repos~1k tokens
    Auto-check passed
  • Caveman Help

    vishiri/fantasia-archive

    Quick-reference card for all caveman modes, skills, and commands.

    409 GitHub starsUsed in 6 repos~572 tokens
    Auto-check passed
  • Fantasia Context Menu Dividers

    vishiri/fantasia-archive

    Context menu divider policy: full primary-bright group separators vs low-opacity separatorAlt between consecutive items in the same group.

    409 GitHub stars~741 tokensUpdated 3 days ago
    Auto-check passed

Categories

Questions about Fantasia Document Workspace Edit State

What does Fantasia Document Workspace Edit State do?

Per-tab editState on opened workspace documents: preview (read-only) vs edit (inputs). Fantasia Document Workspace Edit State is an agent skill from vishiri/fantasia-archive. Per-tab editState on opened workspace documents: preview (read-only) vs edit (inputs).

When should I use Fantasia Document Workspace Edit State?

Fantasia Document Workspace Edit State fits situations like: adding DocumentWorkspacePage fields; tab session state; openeddocuments snapshot columns.

How do I install Fantasia Document Workspace Edit State in Claude Code?

Run `npx skills add vishiri/fantasia-archive --skill fantasia-document-workspace-edit-state -a claude-code`. Or copy the skill folder (.cursor/skills/fantasia-document-workspace-edit-state in vishiri/fantasia-archive) into .claude/skills/fantasia-document-workspace-edit-state in your project. Claude Code loads it when a task matches its description.

How do I install Fantasia Document Workspace Edit State in Codex?

Run `npx skills add vishiri/fantasia-archive --skill fantasia-document-workspace-edit-state -a codex`. Or copy the skill folder (.cursor/skills/fantasia-document-workspace-edit-state in vishiri/fantasia-archive) into .agents/skills/fantasia-document-workspace-edit-state in your project. Codex loads it when a task matches its description.

Can I use Fantasia Document Workspace Edit State in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add vishiri/fantasia-archive --skill fantasia-document-workspace-edit-state -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fantasia-document-workspace-edit-state, .gemini/skills/fantasia-document-workspace-edit-state, .github/skills/fantasia-document-workspace-edit-state and .opencode/skills/fantasia-document-workspace-edit-state in your project.

What does Fantasia Document Workspace Edit State need to run?

SKILL.md names no scripts, command-line tools or credentials: Fantasia Document Workspace Edit State is instructions for the agent only.

Does Fantasia Document Workspace Edit State access the network?

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.

Is Fantasia Document Workspace Edit State safe to install?

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.

What licence does Fantasia Document Workspace Edit State use?

Fantasia Document Workspace Edit State is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Fantasia Document Workspace Edit State use?

About 863 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Fantasia Document Workspace Edit State?

Skills that share tags, products or a category with Fantasia Document Workspace Edit State: Orca CLI (stablyai/orca, 89k stars), Beads Task Memory (gastownhall/beads, 28k stars), Session History Search (slopus/happy, 24k stars) and Paseo Agent Handoff (getpaseo/paseo, 20k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fantasia Document Workspace Edit State?

vishiri (a GitHub user) maintains it in vishiri/fantasia-archive, which has 409 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on October 7, 2026.

Source: vishiri/fantasia-archive on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.