मुख्य सामग्री पर जाएँ
Skillpedia
PDF, Word और स्लाइड33k · #9127

officecli

यह क्या करती है

यह स्किल AI एजेंट को officecli कमांड-लाइन टूल से .docx, .xlsx और .pptx फ़ाइलों के साथ काम करने में मार्गदर्शन देती है। यह उन लोगों के लिए है जो Office दस्तावेज़ बनाते या संशोधित करते हैं और चाहते हैं कि संपादन एजेंट करे।

कब इस्तेमाल करें

  • ✓जब आप अपनी सामग्री से नई Word, Excel या PowerPoint फ़ाइल बनवाना चाहें।
  • ✓जब आपको मौजूदा Office फ़ाइल में फ़ॉर्मेटिंग की समस्याएँ जाँचनी हों।
  • ✓जब आप Office दस्तावेज़ में चार्ट जोड़ना या टेक्स्ट बदलना चाहें।

Skill का लिंक

https://github.com/iOfficeAI/OfficeCLI/blob/main/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/iOfficeAI/OfficeCLI/blob/main/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“क्या आप इस Word रिपोर्ट में फ़ॉर्मेटिंग की समस्याएँ जाँचकर हेडिंग ठीक कर सकते हैं?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

आपका एजेंट ज़रूरत हो तो officecli इंस्टॉल करता है, दस्तावेज़ की संरचना पढ़ता है, और उसके कमांड से बदलाव करता है, फिर नतीजे जाँचता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

officecli

AI-friendly CLI for .docx, .xlsx, .pptx. Single binary, no dependencies, no Office installation needed.

Install

If officecli is not installed:

# macOS / Linux
curl -fsSL https://d.officecli.ai/install.sh | bash

# Windows (PowerShell)
irm https://d.officecli.ai/install.ps1 | iex

Verify with officecli --version. If still not found after install, open a new terminal.


Strategy

L1 (read) → L2 (DOM edit) → L3 (raw XML). Always prefer higher layers. Add --json for structured output.

Before doc work, check Specialized Skills (bottom of this file). Fundraising decks, academic papers, financial models, dashboards, and Morph animations need their own skill loaded first — load_skill once, then proceed.


Help System (IMPORTANT)

When unsure about property names, value formats, or command syntax, ALWAYS run help instead of guessing. One help query beats guess-fail-retry loops.

officecli help ≡ officecli --help, and officecli <cmd> --help ≡ officecli help <cmd> — same content.

officecli help                                  # All commands + global options + schema entry points
officecli help docx                             # List all docx elements
officecli help docx paragraph                   # Full schema: properties, aliases, examples, readbacks
officecli help docx set paragraph               # Verb-filtered: only props usable with `set`
officecli help docx paragraph --json            # Structured schema (machine-readable)

Format aliases: word→docx, excel→xlsx, ppt/powerpoint→pptx. Verbs: add, set, get, query, remove. MCP exposes the same schema via the single command string param: {"command":"help docx paragraph"} (not a structured {"format":...,"type":...} object — the MCP tool has exactly one param, command, and passes it through to the CLI verbatim).


Performance: Resident Mode

Every command auto-starts a resident on first access (60s idle timeout) — file-lock conflicts are automatically avoided. Explicit open/close is still recommended for longer sessions (12min idle):

officecli open report.docx       # explicitly keep in memory
officecli set report.docx ...    # no file I/O overhead
officecli close report.docx      # save and release

Opt out of auto-start: OFFICECLI_NO_AUTO_RESIDENT=1.

Flush only at the non-officecli boundary. officecli's own reads (get/query/view/dump) always see your latest edits, so you never need to save mid-workflow. Run save (keeps the resident) or close (flush + release) only before a non-officecli program reads the file — python-docx/openpyxl, Word, a renderer, delivery/upload. (Idle sessions auto-flush within seconds; OFFICECLI_RESIDENT_FLUSH=each makes every mutation flush before returning.)


Quick Start

PPT:

officecli create slides.pptx
officecli add slides.pptx / --type slide --prop title="Q4 Report" --prop background=1A1A2E
officecli add slides.pptx '/slide[1]' --type shape --prop text="Revenue grew 25%" --prop x=2cm --prop y=5cm --prop font=Arial --prop size=24 --prop color=FFFFFF

Word:

officecli create report.docx
officecli add report.docx /body --type paragraph --prop text="Executive Summary" --prop style=Heading1
officecli add report.docx /body --type paragraph --prop text="Revenue increased by 25% year-over-year."

Excel:

officecli create data.xlsx
officecli set data.xlsx /Sheet1/A1 --prop value="Name" --prop bold=true
officecli set data.xlsx /Sheet1/A2 --prop value="Alice"

L1: Create, Read & Inspect

officecli create <file>               # Create blank .docx/.xlsx/.pptx (type from extension)
officecli view <file> <mode>          # outline | stats | issues | text | annotated | html
officecli get <file> <path> --depth N # Get a node and its children [--json]
officecli query <file> <selector>     # CSS-like query
officecli validate <file>             # Validate against OpenXML schema

view modes

Mode Description Useful flags
outline Document structure
stats Statistics (pages, words, shapes)
issues Formatting/content/structure problems --type format|content|structure, --limit N
text Plain text extraction --start N --end N, --max-lines N
annotated Text with formatting annotations
html Static HTML snapshot — same renderer
अक्सर पूछे जाने वाले सवाल

क्या मुझे Microsoft Office इंस्टॉल चाहिए?

नहीं। स्किल कहती है कि officecli बिना किसी Office इंस्टॉलेशन के चलता है।

इसे कैसे इंस्टॉल करूँ?

स्किल macOS, Linux और Windows के लिए इंस्टॉल कमांड देती है।

क्या यह विशेष दस्तावेज़ प्रकार कवर करती है?

हाँ। कुछ प्रकार, जैसे डैशबोर्ड या वित्तीय मॉडल, के अपने संबंधित स्किल हैं।

जानकारी

लेखक का मूल विवरण

Create, analyze, proofread, and modify Office documents (.docx, .xlsx, .pptx) using the officecli CLI tool. Use when the user wants to create, inspect, check formatting, find issues, add charts, or modify Office documents.

repo: iOfficeAI/OfficeCLI

लोकप्रियता

GitHub स्टार
33k
रैंकिंग में स्थान
#9127
लाइसेंस
Apache-2.0
अपडेट की गई
30/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

morph-ppt-3d

33k

यह आपके एजेंट को 3D GLB मॉडल और स्लाइडों के बीच सहज Morph ट्रांज़िशन वाली PowerPoint डेक बनाने में मदद करती है।

लेखन और डॉक्यूमेंटPDF, Word और स्लाइड

morph-ppt

33k

यह आपके एजेंट को सहज Morph ट्रांज़िशन वाली PowerPoint फ़ाइल बनाने में मदद करती है, जिसमें स्लाइडों के बीच आकृतियाँ चलें, बढ़ें या घूमें।

लेखन और डॉक्यूमेंटPDF, Word और स्लाइड

officecli-academic-paper

33k

यह आपके एजेंट को उद्धरणों, समीकरणों और जर्नल-शैली लेआउट के साथ शोध पेपर, थीसिस या पांडुलिपि को Word फ़ाइल के रूप में फ़ॉर्मेट करने में मदद करती है।

लेखन और डॉक्यूमेंटलेखन

officecli-data-dashboard

33k

यह आपके एजेंट को CSV या टेबल डेटा को KPI कार्ड, चार्ट और पहले खुलने वाली शीट वाले Excel डैशबोर्ड में बदलने में मदद करती है।

लेखन और डॉक्यूमेंटPDF, Word और स्लाइड

मिलती-जुलती skills