agentleFS
c-ibarrac-ibarra/ObsidianKnowledgeCurator/.agents/skills/okc-doc/SKILL.md

okc-doc

Skill0 starsChanged 43 days agoMITView on GitHub

Ingests an office document, presentation, spreadsheet, EPUB or PDF using AnyDoc, curates note, compiles concepts, and syncs vault.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When this skill is invoked via /okc-doc <input_path>, execute the following 2-step streamlined workflow:

    line 9
  2. Very specific:

    Only read temp/fetched_data.txt if is_truncated == True.

    line 14
  3. Very specific:

    Commit all notes, surgically upsert into SQLite, and trigger the detached background worker (async_post_commit.py) in a single call using …

    line 20

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

AnyDoc Office & Document Curator Skill

When this skill is invoked via /okc-doc <input_path>, execute the following 2-step streamlined workflow:

  1. Extract & Stage Document Content (FastMCP — 1 Turn):
    • Execute the native FastMCP tool fetch_doc_data(file_path="<input_path>", slug="<slug>") on the okc server (do not spawn CLI commands unless MCP is unavailable).
    • Features: Multi-format parsing (.docx, .pptx, .xlsx, .epub, .pdf, .csv, .odt, .rtf, .txt), concurrent extraction of embedded diagrams to <VAULT_ROOT>/assets/images/, inline text extraction (up to MAX_TRANSCRIPT_CHARS), and SQLite graphify_context (author_existing_notes, matched_wiki_notes).
    • Only read temp/fetched_data.txt if is_truncated == True.
  2. Synthesize & Atomically Commit (FastMCP — 1 Turn):
    • Consume the inline text and graphify_context returned by fetch_doc_data.
    • Format a curated note in the raw/ zone following vault conventions (no YAML, H1 title, blockquote with Processed: DD-MM-YYYY and Tags: #no-read-yet, Key Takeaways, numbered sections, flashcards, glossary, related wikilinks).
    • Identify 3-7 core concepts and format their markdown content for wiki/ (evolving inline matched_wiki_notes where applicable).
    • Commit all notes, surgically upsert into SQLite, and trigger the detached background worker (async_post_commit.py) in a single call using FastMCP commit_curated_note:
      commit_curated_note(
          raw_note_path="dataScienceKnowledgeBase/AI Engineer/raw/<Category>/<Document Title>.md",
          raw_content="...",
          wiki_notes={"ConceptName.md": "..."},
          target_kb="dataScienceKnowledgeBase/AI Engineer",
          fast_sync=True,
          async_sync=True
      )
    • Zero-Spam Policy: Perform any vault checks silently using native cortex tools (find_by_name, view_file, find_notes). Never run exploratory terminal commands (python3 -c, ls, etc.).
    • Report progress and show the Obsidian URI to the user.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.