FactoriaGo (factoriago.com) is an AI-native LaTeX editor built for academic paper revision. Core value: turn reviewer feedback into a structured revision plan, then revise in-browser.
This skill makes network requests only to editor.factoriago.com (the official FactoriaGo platform) and your chosen AI provider (e.g., Anthropic, OpenAI). No data is sent to any third-party or unknown endpoints. The CLI script ( scripts/factoriago-client.js) handles:
https://editor.factoriago.com/api/*The VirusTotal warning is a false positive triggered by the presence of external API calls and credential-handling patterns, which are inherent to any API integration skill.
references/api.mdreferences/revision-workflow.mdreferences/reviewer-response.mdscripts/factoriago-client.jsAI features (chat, review analysis, revision suggestions) require a personal LLM API key. Without it, users can only edit files and compile LaTeX — no AI assistance.
Always check API key status before attempting AI operations:
bash
node scripts/factoriago-client.js get-llm-config
If primary_key_saved: false, guide the user through setup FIRST:
Ask which AI provider they want:
Tell them where to get the key: ProviderKey URLAnthropichttps://console.anthropic.com/keysOpenAIhttps://platform.openai.com/api-keysGooglehttps://aistudio.google.com/app/apikeyMoonshot (Kimi)https://platform.moonshot.cn/console/api-keysZhipu (GLM)https://open.bigmodel.cn/usercenter/apikeysMiniMaxhttps://platform.minimaxi.com/user-center/basic-information/interface-key
Save the key via API: bash
node scripts/factoriago-client.js set-llm-config <provider> <model> <apiKey>
Or guide user to: Settings → AI Model in the FactoriaGo web UI.
Confirm key is saved before proceeding with AI tasks.
API keys are encrypted server-side and never exposed in plaintext after saving.
When user is new to FactoriaGo:
Always check API key first before AI operations (see Prerequisites above).
Auth setup:
bash
# Login and get session cookie
export FACTORIAGO_COOKIE=$(node scripts/factoriago-client.js login <email> <password> | grep "Cookie:" | cut -d' ' -f2-)
Common commands:
bash
node scripts/factoriago-client.js list-projects
node scripts/factoriago-client.js list-tasks <projectId>
node scripts/factoriago-client.js analyze-review <projectId> "<reviewer text>"
node scripts/factoriago-client.js chat <projectId> "<question>" [model]
node scripts/factoriago-client.js compile <projectId>
Always ask user for credentials before making API calls. Store cookie in env, never in files.
When user pastes reviewer comments:
references/revision-workflow.md for the full workflowPOST /paper/:id/analyze if user is logged inWhen user needs to write a response letter:
references/reviewer-response.md for templates and tone guidelinesWhen user wants to edit manuscript:
get-file to read current contentPUT /paper/:paperId/files/:fileId to savecompile to verify no LaTeX errors