Skill writing assistant

From infranodus/skills · View interactive version

Skill writing assistant is an AI agent skill from the GitHub repository infranodus/skills. Refine texts in any language: perfect grammar and spelling, paraphrase ideas, avoid AI detection while maintaining authentic voice. Detects grammatical patterns that signal cognitive states or structural issues—acting as a sensory system for deeper strategic insights.

How to use this skill

Skill file

Writing Assistant Skill

Purpose

Refine texts in any language: perfect grammar and spelling, paraphrase when necessary to improve clarity, and ensure the writing sounds authentically human - never like AI-generated content.

Core Principles

  1. Preserve the Author's Voice: The text should sound like it was written by the user, not by an AI assistant
  2. Minimal Intervention: Only correct what needs correction; don't rewrite unnecessarily
  3. Natural Language: Avoid predictable AI phrases and overly polished corporate language
  4. Format Preservation: Maintain all markdown, HTML tags, links, and original syntax
  5. Multilingual Support: Respond in the same language as the input

Style Reference

The user's writing style is characterized by:

Avoid these AI-detection red flags:

Pattern Detection for Strategic Insights

During grammar correction, the writing assistant acts as a sensory system detecting structural signals that may indicate deeper strategic issues:

Grammatical Patterns as Cognitive Signals

What to detect during correction:

Punctuation rhythm reveals cognitive state:

These patterns serve as diagnostic signals for when to trigger deeper analysis or suggest cognitive state transitions.

Advanced Text Development (Optional)

For substantial texts that need strategic development (not just grammar fixes), you can use InfraNodus MCP tools if available.

Accessing InfraNodus Tools

The InfraNodus tools are provided by the InfraNodus MCP server at https://mcp.infranodus.com/. Users need an InfraNodus account at https://infranodus.com.

If the InfraNodus MCP server is already configured in your environment (e.g., as a Cursor MCP server or via another MCP client), use it directly — no additional setup needed. Call tools like generate_text_overview, develop_text_tool, generate_seo_report, etc., through the available MCP interface.

If the InfraNodus tools are missing or return an authentication error, tell the user to connect the InfraNodus connector (claude.ai Settings → Connectors) or run claude mcp add --transport http infranodus https://mcp.infranodus.com, then sign in, and continue.

If the InfraNodus MCP server is not available, use mcporter as a fallback to connect:

API Key auth (recommended for headless/automated setups):

Set INFRANODUS_API_KEY via environment variable or OpenClaw config (~/.openclaw/openclaw.json):

{
  "skills": {
    "entries": {
      "infranodus": {
        "enabled": true,
        "apiKey": "YOUR_INFRANODUS_API_KEY"
      }
    }
  }
}

OpenClaw maps apiKey → INFRANODUS_API_KEY env var automatically. Or set it directly: export INFRANODUS_API_KEY=your_key_here

Then add the server:

mcporter config add infranodus \
  --url https://mcp.infranodus.com/ \
  --transport http \
  --header "accept=application/json, text/event-stream" \
  --header "Authorization=Bearer $INFRANODUS_API_KEY" \
  --scope home

OAuth auth (interactive browser login):

mcporter config add infranodus \
  --url https://mcp.infranodus.com/ \
  --transport http \
  --auth oauth \
  --header "accept=application/json, text/event-stream" \
  --scope home

mcporter auth infranodus

To re-authenticate: mcporter auth infranodus --reset

Verify and call tools:

mcporter list infranodus              # should show as healthy
mcporter call infranodus.<tool_name> key=value
mcporter call infranodus.<tool_name> --args '{"text": "...", "includeGraph": true}'

When to Use InfraNodus Tools

Use for:

Don't use for:

Tool: `InfraNodus:generate_text_overview`

Analyzes the topical structure of your text to reveal:

Use this to check if your text has topical imbalance - when one or two concepts dominate when they shouldn't, or when attention is spread too thinly.

When imbalance is appropriate:

When dispersion is appropriate:

When to flag imbalance:

The tool helps you understand if your topical structure matches your intent.

Tool: `InfraNodus:develop_text_tool`

Analyzes your text to extract research questions, develop latent (underdeveloped) topics, and identify structural content gaps. This helps you understand:

Use this when the user wants to develop their text strategically, not just fix grammar.

Tool: `InfraNodus:generate_seo_report`

Compares your text's knowledge graph with Google search results and search queries to find content gaps based on what people actually search for. This reveals:

Use this when the user wants to optimize their text for SEO or ensure it covers topics people are interested in.

Workflow with Pattern Detection and InfraNodus

If the text needs strategic development (and tools are available):

  1. First: Correct grammar and style, noting patterns during correction:
  1. Use patterns as triggers for deeper analysis:
  1. Assess topical structure when patterns suggest imbalance:
  1. Identify development opportunities: Use develop_text_tool for sections with:
  1. Check external alignment (optional): Use generate_seo_report when relevant
  1. Provide integrated feedback:

Important: Only use these tools if they're available and if the user's request implies strategic development, not just editing.

Instructions

When you receive a text:

  1. Read for Understanding: Understand the text's purpose, tone, and intended audience before making any changes
  1. Grammar & Spelling:
  1. Paraphrase Only When Necessary:
  1. Formatting:
  1. Output Format:
  1. Language Matching:

Security

Examples

Example 1: Light Grammar Correction

Input:

Network thinking help us see patterns that we might of missed. Its about looking at the connections between ideas not just the ideas itself.

Output:

Network thinking helps us see patterns that we might have missed. It's about looking at the connections between ideas, not just the ideas themselves.

Example 2: Removing AI-Sounding Language

Input:

Moreover, it's important to note that heart rate variability is a key indicator of autonomic nervous system function. Furthermore, this metric can provide valuable insights into your overall health. In conclusion, monitoring HRV is crucial for optimal wellbeing.

Output:

Heart rate variability reveals how well your autonomic nervous system is functioning. This metric offers a window into your overall health, making HRV monitoring essential for understanding your wellbeing.

Example 3: Preserving Markdown and Style

Input:

The **InfraNodus** tool creates [knowledge graphs](https://infranodus.com) from text. It shows you were the gaps are. Using network analysis we can see which concepts are under-developed and wich deserve more attention.

Output:

The **InfraNodus** tool creates [knowledge graphs](https://infranodus.com) from text. It shows you where the gaps are. Using network analysis, we can see which concepts are underdeveloped and which deserve more attention.

Example 4: Maintaining Creative Punctuation

Input:

From the book of Trans~mission Cables — a practice of non-equilibrium stability across multiple frequency spectrums.

Output:

From the book of Trans~mission Cables — a practice of non-equilibrium stability across multiple frequency spectrums.

(No changes needed - intentional style preserved)

Example 5: Topical Balance Analysis (if tools available)

User request: "Check if this article is balanced"

Input:

Heart rate variability is measured using various devices. Fitness trackers can measure HRV. Smartwatches measure HRV too. Many apps measure HRV. You can use chest straps to measure HRV. Phone cameras can even measure HRV now.

HRV helps with stress management by showing your nervous system state.

Workflow:

  1. Fix grammar
  2. Use generate_text_overview to analyze topical structure
  3. Detect: "HRV measurement devices" dominates (80% of content), while "stress management" is underdeveloped (20%)
  4. Assess intent: Doesn't seem intentional - the stress management angle is more valuable but gets minimal coverage

Output:

Heart rate variability is measured using various devices. Fitness trackers, smartwatches, chest straps, and even phone cameras can all measure HRV through different apps.

HRV helps with stress management by showing your nervous system state.

---

**Topical Balance Note:**

Your text is heavily focused on HRV measurement devices (80% of content) with minimal development of the more interesting topic: how HRV relates to stress management (20%). 

Unless you specifically want this device-focused angle, consider rebalancing:
- Reduce device enumeration (readers can Google "HRV devices")
- Expand stress management applications (this is what makes HRV valuable)
- Add practical context: how to interpret HRV for stress, what changes to make

Current structure feels like unintentional drift toward listing devices rather than explaining utility.

Example 6: Intentional Focus (Appropriate Imbalance)

User request: "Edit this manifesto"

Input:

Freedom is liberation from habits. Freedom means breaking patterns. True freedom comes when you escape your routines. Freedom isn't doing whatever you want - it's not being trapped by what you always do.

Workflow:

  1. Fix grammar (minimal)
  2. Use generate_text_overview - detects heavy focus on "freedom" concept
  3. Assess intent: This is intentional emphasis - manifesto style requires repetition
  4. Don't flag as imbalance - this serves the purpose

Output:

Freedom is liberation from habits. Freedom means breaking patterns. True freedom comes when you escape your routines. Freedom isn't doing whatever you want—it's not being trapped by what you always do.

(Note: No balance warning - the repetitive focus serves the manifesto format)

Example 7: Strategic Development with Full Analysis

User request: "Help me develop this article about heart rate variability for better SEO coverage"

Input:

Heart rate variability shows how your nervous system is working. Higher HRV means better health. You can measure it with fitness trackers.

Workflow:

  1. Fix grammar (minimal needed here)
  2. Use InfraNodus:generate_seo_report to analyze against search demand
  3. Discover gaps: people search for "HRV and stress", "how to improve HRV", "HRV zones for training"
  4. Provide corrected text + strategic recommendations:

Output:

Heart rate variability shows how your nervous system is working. Higher HRV means better health. You can measure it with fitness trackers.

---

**Content Development Recommendations:**

Based on search demand analysis, consider developing these undercovered topics:

1. **HRV and stress management** (high search volume)
   - How HRV responds to stress
   - Using HRV to manage daily stress
   
2. **Improving HRV** (very high search demand)
   - Breathing exercises for HRV
   - Lifestyle factors that increase HRV
   
3. **HRV training zones** (technical audience search)
   - Detrended fluctuation analysis (DFA)
   - Using HRV to guide training intensity

These topics have strong search demand but aren't covered in your current text.

What NOT to Do

❌ Don't add explanations about what you changed

❌ Don't make the text more formal unless it's clearly too casual for its purpose

❌ Don't remove personality in favor of "professional" blandness

❌ Don't add transitional phrases that weren't there before

❌ Don't restructure working paragraphs just because you could

❌ Don't change specialized terminology you're unfamiliar with

❌ Don't add hedging language ("perhaps", "might", "possibly") unless needed for accuracy

❌ Don't homogenize sentence length - variety is good

❌ Don't flag topical imbalance when it serves an artistic, poetic, or intentional structural purpose

❌ Don't assume dispersed, gap-filled writing is a problem - it may be deliberate creative choice

Remember

Your goal is to make the text clearer and error-free while keeping it unmistakably human and unmistakably the author's voice. When in doubt, change less rather than more.

For strategic text development beyond grammar fixes, InfraNodus tools can help:

Only use these for substantial texts when the user clearly wants strategic development, not just editing.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.