explaingit

yb2460/harness-anything

Analysis updated 2026-05-18

144PythonAudience · developerComplexity · 3/5LicenseSetup · moderate

TLDR

A set of command line tools that let an AI agent control WPS/Microsoft Office, Zotero, Illustrator, and Photoshop on Windows by automating the real installed apps through COM.

Mindmap

mindmap
  root((harness-anything))
    What it does
      Drives real desktop apps
      Sends commands via COM
      No app reimplementation
    Tools included
      Office WPS Word Excel PPT
      Zotero research skills
      Illustrator control
      Photoshop control
    Tech stack
      Python
      pywin32
      Windows COM
    Requirements
      Windows only
      Target app installed
    Use cases
      Automate document editing
      Academic writing pipeline
      Generate design assets

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Have an AI agent automatically build and format a presentation from an outline.

USE CASE 2

Automate repetitive spreadsheet tasks like batch filling cells and applying formulas.

USE CASE 3

Run a full academic pipeline from literature search to a formatted manuscript through Zotero skills.

USE CASE 4

Let an agent create and export vector or bitmap graphics in Illustrator or Photoshop.

What is it built with?

Pythonpywin32Windows COM

How does it compare?

yb2460/harness-anythinggalaxygeneralrobotics/humanoid-gptlbq110/weread-exporter
Stars144144145
LanguagePythonPythonPython
Setup difficultymoderatehard
Complexity3/55/5
Audiencedeveloperresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Windows plus a licensed, already installed copy of the target application (WPS, Office, Zotero, Illustrator, or Photoshop).

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

This repository is a collection of command-line tools that let AI agents control desktop applications on Windows by sending instructions directly to the software through a built-in Windows interface called COM automation. COM automation is a technology that allows programs to control other programs as if operating them from the inside, without using the visual interface. The first tool covers WPS Office and Microsoft Office. It provides 47 commands covering documents, spreadsheets, and presentations: creating and editing paragraphs, tables, images, and styles in Writer or Word, reading and writing cells, applying formulas, and managing sheets in Calc or Excel, adding, editing, and exporting slides in Impress or PowerPoint. Exporting to formats like PDF, HTML, and CSV is also included. There is a presentation design system with preset themes and layout options. The second tool connects to Zotero, which is a reference management application used in academic research. It adds 27 skills organized into categories covering literature search, idea generation, writing papers and manuscripts, peer review simulation, creating visualizations like posters and journal figures, and statistical analysis. It is aimed at researchers who want an AI agent to assist across the full workflow from finding sources to writing and reviewing. The third and fourth tools provide similar command-line control for Adobe Illustrator and Adobe Photoshop. For Illustrator, commands cover creating documents, managing layers, drawing shapes, adding text, and exporting to vector and image formats. For Photoshop, commands cover documents, layers, selections, image adjustments, text, filters, and export. All four tools require Windows 10 or 11 and Python 3.10 or newer. The Office tool works with WPS Office 2019 or Microsoft Office 2016 and later. The Adobe tools require Illustrator 2023 or Photoshop 2023 and later. The repository is licensed under MIT.

Copy-paste prompts

Prompt 1
Show me how to install the WPS harness and generate a slide deck from an outline of talking points.
Prompt 2
Write a script that uses the Zotero tool to run a literature search and produce a review outline.
Prompt 3
Explain how to set up the Illustrator harness so an agent can draw a logo automatically.
Prompt 4
Give me the install steps and requirements for controlling Photoshop with this tool.

Frequently asked questions

What is harness-anything?

A set of command line tools that let an AI agent control WPS/Microsoft Office, Zotero, Illustrator, and Photoshop on Windows by automating the real installed apps through COM.

What language is harness-anything written in?

Mainly Python. The stack also includes Python, pywin32, Windows COM.

What license does harness-anything use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is harness-anything to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is harness-anything for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.