Medium impact

Sovereign skills: Porting an AI code audit to Inkling 2 Mini and Qwen3.8

Alibaba•China••2 min read

Pauli Olavi Ojala ported Stream’s video‑code‑audit skill to run on a MacBook Pro using two new open‑weight large language models. This shows developers can audit code locally without sending any source files to cloud services.

What happened

  • The video‑audit‑skills repository was adapted to run as a Python script on a MacBook Pro.
  • Two open‑weight models, Qwen3.8‑27B from Alibaba and Inkling 2 Mini from Thinking Machines Lab, were used instead of a cloud foundation model.
  • The skill checks a codebase for 44 known design problems and returns a verdict of pass, fail, needs review, or not applicable.

How it works and what is new

  • Both models can run on a MacBook Pro with 48 GB RAM; Qwen3.8‑27B has 64 layers and a 262,144‑token context window, Inkling 2 Mini uses a sparse looped transformer with a 1 million‑token window.
  • The script manages the checklist and calls the LLM repeatedly, allowing the skill to operate with read‑only tool use.
  • Inkling 2 Mini matched 224 of 264 checks, while Qwen3.8‑27B matched 218 but was 24% faster (13 min vs 17 min).
  • Running the unchanged original skill scored only 158 of 264 checks, showing the benefit of the script rewrite.

Who it affects and how

  • Software developers who need to keep code private can run the audit locally, avoiding data leaving their premises.
  • Companies seeking sovereign control—where they decide where models run and can fine‑tune them—gain a practical example of local execution.
  • The approach demonstrates that specific coding tasks can be handled by smaller local models rather than large cloud services.

What is still unclear or not stated

  • The long‑term reliability of the skill on larger, more complex codebases beyond the tested ~1 MB app is not addressed.

What to watch next

  • Future work may explore better code‑selection strategies for very large apps.
  • Improvements to the skill’s instructions could close the remaining gaps that caused both models to fail the same check.
  • Monitoring updates to open‑weight models could further reduce the performance gap with cloud foundation models.

Words explained

context window
The amount of text (measured in tokens) the model can consider at one time.

Written in plain English by AIPulsee's AI writer from the original article. Every number and name was checked automatically against it. How it runs.

Source: getstream.io

Questions readers ask

Can the video audit skill run without an internet connection?

Yes. By porting the skill to a Python script and using local models, the audit runs entirely on the MacBook Pro without network calls.

How accurate are the local models compared to the cloud reference?

Inkling 2 Mini matched 224 of 264 checks and Qwen3.8‑27B matched 218 of 264 checks, while the cloud reference (Claude Opus 5.5) was used as the baseline for exact matches.

What benefits does running the skill locally provide?

Running locally keeps source code on the developer’s machine, enhancing data privacy and compliance. It also gives companies control over which model they use and avoids dependence on cloud providers that might change terms or retire models.

Reality check

An automated, sceptical read of the source

Incremental. The article describes a specific test case for existing technology rather than introducing a fundamentally new capability or model architecture.

Who it affectsDevelopersBusinesses
What to watchMonitor whether other complex agent skills can be successfully ported to run on local hardware with similar open-weight models.
Do you agree with this rating?

Is this a big deal?

Get stories like this every morning

The day's AI news in plain English, in your inbox at 8:30 IST. Free.

More from Alibaba

A Beginner's Guide to Local AI with Inkling, Qwen, and UnslothAlibaba · 22 Nov 2026Show HN: Qwen3-4B with the AI writing tics trained outAlibaba · 19 Oct 2026Qwen-Image-2.1-TurboAlibaba · 9 Oct 2026Alibaba open-sources AI model that can detect cancer and nearly 150 conditionsAlibaba · 18 Sept 2026Qwen-Image-2.1Alibaba · 14 Sept 2026