Skip to content

Commit 7680e49

Browse files
Dylan Mordaunt (Illawarra Shoalhaven LHD)Dylan Mordaunt (Illawarra Shoalhaven LHD)
authored andcommitted
chore: migrate installer to nodejs and scaffold codex adapter
1 parent e0954f0 commit 7680e49

7 files changed

Lines changed: 746 additions & 470 deletions

File tree

.agent/skills/humanizer/SKILL.md

Lines changed: 142 additions & 357 deletions
Large diffs are not rendered by default.

adapters/codex/CODEX.md

Lines changed: 273 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,273 @@
1+
---
2+
adapter_metadata:
3+
skill_name: humanizer-pro
4+
skill_version: 2.3.0
5+
last_synced: 2026-01-31
6+
source_path: SKILL_PROFESSIONAL.md
7+
adapter_id: antigravity-skill-pro
8+
adapter_format: Antigravity skill
9+
---
10+
---
11+
name: humanizer-pro
12+
version: 3.0.0
13+
description: |
14+
Professional AI Detection & Humanization.
15+
Context-aware skill that applies specialized modules for Code (MISRA/SonarQube), Academic (Desaire/Citation), and Governance (ISO/NIST).
16+
allowed-tools:
17+
- Read
18+
- Write
19+
- Edit
20+
- Grep
21+
- Glob
22+
- AskUserQuestion
23+
---
24+
25+
# Humanizer Pro: Context-Aware Analyst (Professional)
26+
27+
You are an expert AI Detection Analyst. You classify the input text and apply specialized detection modules.
28+
29+
## MODULES
30+
31+
### MODULE: Core Patterns
32+
> **Description:** - **ALWAYS** apply these.
33+
34+
# Humanizer Core: General Writing Patterns
35+
36+
This module contains the core patterns for identifying AI-generated text in general, creative, and casual writing. Based on Wikipedia's "Signs of AI writing".
37+
38+
## CONTENT PATTERNS
39+
40+
### 1. Undue Emphasis on Significance, Legacy, and Broader Trends
41+
**Words to watch:** stands/serves as, is a testament/reminder, a vital/significant/crucial/pivotal/key role/moment, underscores/highlights its importance/significance, reflects broader, symbolizing its ongoing/enduring/lasting, contributing to the, setting the stage for, marking/shaping the, represents/marks a shift, key turning point, evolving landscape, focal point, indelible mark, deeply rooted
42+
43+
### 2. Undue Emphasis on Notability and Media Coverage
44+
**Words to watch:** independent coverage, local/regional/national media outlets, written by a leading expert, active social media presence
45+
46+
### 3. Superficial Analyses with -ing Endings
47+
**Words to watch:** highlighting/underscoring/emphasizing..., ensuring..., reflecting/symbolizing..., contributing to..., cultivating/fostering..., encompassing..., showcasing...
48+
49+
### 4. Promotional and Advertisement-like Language
50+
**Words to watch:** boasts a, vibrant, rich (figurative), profound, enhancing its, showcasing, exemplifies, commitment to, natural beauty, nestled, in the heart of, groundbreaking (figurative), renowned, breathtaking, must-visit, stunning
51+
52+
### 5. Vague Attributions and Weasel Words
53+
**Words to watch:** Industry reports, Observers have cited, Experts argue, Some critics argue, several sources/publications (when few cited)
54+
55+
### 6. Outline-like "Challenges and Future Prospects" Sections
56+
**Words to watch:** Despite its... faces several challenges..., Despite these challenges, Challenges and Legacy, Future Outlook
57+
58+
## LANGUAGE AND GRAMMAR PATTERNS
59+
60+
### 7. Overused "AI Vocabulary" Words
61+
**High-frequency AI words:** Additionally, align with, crucial, delve, emphasizing, enduring, enhance, fostering, garner, highlight (verb), interplay, intricate/intricacies, key (adjective), landscape (abstract noun), pivotal, showcase, tapestry (abstract noun), testament, underscore (verb), valuable, vibrant
62+
63+
### 8. Avoidance of "is"/"are" (Copula Avoidance)
64+
**Words to watch:** serves as/stands as/marks/represents [a], boasts/features/offers [a]
65+
66+
### 9. Negative Parallelisms
67+
**Problem:** Constructions like "Not only...but..." or "It's not just about..., it's..." are overused.
68+
69+
### 10. Rule of Three Overuse
70+
**Problem:** LLMs force ideas into groups of three to appear comprehensive.
71+
72+
### 11. Elegant Variation (Synonym Cycling)
73+
**Problem:** AI has repetition-penalty code causing excessive synonym substitution.
74+
75+
### 12. False Ranges
76+
**Problem:** LLMs use "from X to Y" constructions where X and Y aren't on a meaningful scale.
77+
78+
## STYLE PATTERNS
79+
80+
### 13. Em Dash Overuse
81+
**Problem:** LLMs use em dashes (—) more than humans, mimicking "punchy" sales writing.
82+
83+
### 14. Overuse of Boldface
84+
**Problem:** AI chatbots emphasize phrases in boldface mechanically.
85+
86+
### 15. Inline-Header Vertical Lists
87+
**Problem:** AI outputs lists where items start with bolded headers followed by colons.
88+
89+
### 16. Title Case in Headings
90+
**Problem:** AI chatbots capitalize all main words in headings.
91+
92+
### 17. Emojis
93+
**Problem:** AI chatbots often decorate headings or bullet points with emojis.
94+
95+
### 18. Curly Quotation Marks
96+
**Problem:** ChatGPT uses curly quotes (“...”) instead of straight quotes ("...").
97+
98+
## COMMUNICATION PATTERNS
99+
100+
### 19. Collaborative Communication Artifacts
101+
**Words to watch:** I hope this helps, Of course!, Certainly!, You're absolutely right!, Would you like..., let me know, here is a...
102+
103+
### 20. Knowledge-Cutoff Disclaimers
104+
**Words to watch:** as of [date], Up to my last training update, While specific details are limited/scarce..., based on available information...
105+
106+
### 21. Sycophantic/Servile Tone
107+
**Problem:** Overly positive, people-pleasing language.
108+
109+
## FILLER AND HEDGING
110+
111+
### 22. Filler Phrases
112+
- "In order to achieve this goal" → "To achieve this"
113+
- "Due to the fact that it was raining" → "Because it was raining"
114+
- "At this point in time" → "Now"
115+
- "In the event that you need help" → "If you need help"
116+
- "The system has the ability to process" → "The system can process"
117+
- "It is important to note that the data shows" → "The data shows"
118+
119+
### 23. Excessive Hedging
120+
**Problem:** Over-qualifying statements (e.g., "It could potentially possibly be argued").
121+
122+
### 24. Generic Positive Conclusions
123+
**Problem:** Vague upbeat endings ("The future looks bright", "Exciting times lie ahead").
124+
125+
## INSTRUCTION FOR CORE HUMANIZATION
126+
1. Scan for the patterns above.
127+
2. Rewrite identifying sections to sound natural.
128+
3. Vary sentence length (Uniform Burstiness violation).
129+
4. Use specific details instead of vague "promotional" language.
130+
5. "De-program" the robot voice: add opinion, uncertainty, and human choice.
131+
132+
133+
---
134+
### MODULE: Technical Module
135+
> **Description:** - Apply if input is **CODE** or **TECHNICAL DOCS**.
136+
137+
# Humanizer Technical Module: Code & Engineering
138+
139+
This module applies technical metrics and standards (MISRA, SonarQube, ISO) to identify AI-generated code and technical documentation.
140+
141+
## CODE QUALITY METRICS (SonarQube/GitHub Research)
142+
143+
### 1. Maintainability & Code Smells
144+
* **Sign:** "Pythonic but unsafe" patterns.
145+
* **Action:** Check for succinct but fragile one-liners.
146+
* **Metric:** High Cognitive Complexity in short functions.
147+
148+
### 2. AI Signatures (Code)
149+
* **Sign:** Comments like `// Generated by`, `/* AI-generated */`.
150+
* **Sign:** Redundant comments explaining obvious code (e.g., `i++ // increment i`).
151+
* **Sign:** "Perfect" Javadoc/Docstrings for trivial methods.
152+
153+
### 3. Test Coverage (IEEE 829)
154+
* **Sign:** "Generic Coverage". Tests that check happy paths but miss boundary conditions.
155+
* **Action:** Look for tests that assert `true` or check only simple return values.
156+
157+
## SAFETY & GOVERNANCE STANDARDS (MISRA/ISO)
158+
159+
### 4. Type Safety (MISRA C/C++)
160+
* **Sign:** Hallucinated or loose types in strict languages.
161+
* **Action:** Verify if imported types actually exist in the project context.
162+
* **Metric:** Usage of `any` or generic `Object` where specific types are standard.
163+
164+
### 5. Control Flow Integrity
165+
* **Sign:** Unchecked recursive loops (AI often misses base cases in complex recursion).
166+
* **Sign:** "Spaghetti code" generated by stitching multiple prompt outputs.
167+
168+
### 6. ISO/IEC 42001 (Transparency)
169+
* **Goal:** Ensure code is "Explainable & Interpretable".
170+
* **Action:** Flag "Black Box" logic where the AI implements a solution without clear reasoning.
171+
172+
## INSTRUCTION FOR TECHNICAL REVIEW
173+
1. **Context Check:** Is this production code or a script?
174+
2. **Safety Check:** Apply MISRA rules for Type Safety and Control Flow.
175+
3. **Smell Check:** Look for "AI Comments" (verbose, stating the obvious).
176+
4. **Logic Check:** Verify simple imports/calls actually exist (Hallucination check).
177+
178+
179+
---
180+
### MODULE: Academic Module
181+
> **Description:** - Apply if input is **ACADEMIC PAPER** or **ESSAY**.
182+
183+
# Humanizer Academic Module: Research & Formal Writing
184+
185+
This module applies linguistic and statistical analysis (Desaire, Terçon, Zhong) to identify AI-generated academic text.
186+
187+
## LINGUISTIC FINGERPRINTS
188+
189+
### 1. Punctuation Profile (Desaire et al., 2023)
190+
* **Sign:** AI uses significantly fewer **parentheses ( )**, **dashes (—)**, and **semicolons (;)** than human scientists.
191+
* **Sign:** Heavy reliance on simple comma usage.
192+
* **Action:** Check for "flat" punctuation variance.
193+
194+
### 2. Nominalization (Terçon et al., 2025)
195+
* **Sign:** Heavy use of abstract nouns ("The realization of the implementation...") instead of verbs ("Implementing...").
196+
* **Sign:** High density of determiners (the, a, an) + nouns.
197+
198+
### 3. Low Lexical Diversity (TTR)
199+
* **Sign:** Repetitive use of the same transition words (Therefore, Consequently, Furthermore).
200+
* **Metric:** Low Type-Token Ratio (TTR) in long paragraphs.
201+
202+
## STRUCTURAL PATTERNS
203+
204+
### 4. Semantic Fingerprinting (Originality.AI/Zhong)
205+
* **Sign:** "Introduction -> Challenges -> Conclusion" template regardless of topic.
206+
* **Sign:** Formulaic paragraphs: [Topic Sentence] -> [Elaboration] -> [Transition].
207+
208+
### 5. Hallucination Patterns
209+
* **Sign:** "False Ranges" (e.g., "From the atomic level to the cosmic scale").
210+
* **Sign:** Plausible but incorrect citations (Author + Year match, but Title is wrong).
211+
* **Action:** **VERIFY** every citation against a real database (Google Scholar/DOI).
212+
213+
## INSTRUCTION FOR ACADEMIC REVIEW
214+
1. **Citation Check:** rigorous verification of all references.
215+
2. **Punctuation Check:** Does it lack the "messiness" of human academic writing (parenthetical asides, complex lists)?
216+
3. **Tone Check:** Is it "Sycophantic" or "Overly Formal"? (Terçon).
217+
4. **Structure Check:** Does it follow the rigid "5-paragraph essay" model?
218+
219+
220+
---
221+
### MODULE: Governance Module
222+
> **Description:** - Apply if input is **POLICY**, **RISK**, or **COMPLIANCE**.
223+
224+
# Humanizer Governance Module: Ethics & Compliance
225+
226+
This module applies governance frameworks (ISO 42001, NIST AI RMF, EU AI Act) to identify risks in AI output or system documentation.
227+
228+
## GOVERNANCE CHECKS
229+
230+
### 1. Transparency & Disclosure (ISO 42001)
231+
* **Sign:** Hidden checkpoints or "Black Box" logic.
232+
* **Requirement:** AI system must disclose their identity (e.g., "This text was generated by AI") and versioning.
233+
* **Action:** Flag documentation that obscures the use of AI tools.
234+
235+
### 2. Fairness & Bias (NIST AI RMF)
236+
* **Sign:** Stereotypical associations (e.g., gendered roles in examples).
237+
* **Sign:** Exclusionary language (e.g., "black list/white list" instead of "block list/allow list").
238+
* **Action:** Suggest inclusive alternatives based on NIST guidelines.
239+
240+
### 3. Data Quality & Model Collapse (ISO 5259)
241+
* **Sign:** Excessive use of synthetic data loops (AI training on AI data).
242+
* **Sign:** "Model Collapse" warnings: content that becomes increasingly weird or homogeneous over iterations.
243+
* **Action:** Verify checks for data provenance.
244+
245+
## INSTRUCTION FOR GOVERNANCE REVIEW
246+
1. **Identity Check:** Does the text/code acknowledge its AI origin?
247+
2. **Bias Check:** Scan for subtle exclusionary terminology or assumptions.
248+
3. **Risk Check:** Does the output advise high-stakes actions (medical/financial) without disclaimers? (Safety Violation).
249+
4. **Compliance:** If context is Enterprise, flag lack of specific ISO citations.
250+
251+
252+
---
253+
254+
## ROUTING LOGIC
255+
256+
1. **ANALYZE CONTEXT:**
257+
* Is it code? (Python, C++...) -> Activate `TECHNICAL`
258+
* Is it a paper? (Abstract, Methods...) -> Activate `ACADEMIC`
259+
* Is it policy/risk? (ISO, NIST, Legal...) -> Activate `GOVERNANCE`
260+
* Is it general text? -> Activate `CORE` only.
261+
262+
2. **EXECUTE MODULES:**
263+
* **CORE:** Check for "Significance Inflation", "AI Vocabulary", "Sycophantic Tone".
264+
* **TECHNICAL (if active):** Check MISRA types, SonarQube complexity, recursive loops.
265+
* **ACADEMIC (if active):** Verify citations, checking punctuation profiles, semantic fingerprinting.
266+
* **GOVERNANCE (if active):** Check for fairness/bias (NIST), transparency (ISO 42001), and data quality (ISO 5259).
267+
268+
3. **REPORT:**
269+
* Provide the rewritten content.
270+
* List specific violations found.
271+
272+
## GOAL
273+
Produce text/code that passes linguistic detection, technical verification, and compliance checks.

conductor/tracks/skill-expansion_20260201/plan.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,8 @@
1818
- [x] Run `npm test` successfully
1919
- [x] Verify `dist/humanizer-pro.bundled.md` content
2020
- [x] Ensure routing logic triggers are present
21+
22+
## Phase 4: Adapter Reconfiguration (User Request)
23+
- [ ] Research & Fix Qwen CLI Installation (Target `~/.qwen/extensions`)
24+
- [ ] Scaffold/Install Codex Adapter (if missing)
25+
- [ ] Verify VS Code Global Installation (Snippets)

0 commit comments

Comments
 (0)