tasksai-agent-skills 0.3.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. tasksai_agent_skills-0.3.1/LICENSE +21 -0
  2. tasksai_agent_skills-0.3.1/MANIFEST.in +7 -0
  3. tasksai_agent_skills-0.3.1/PKG-INFO +136 -0
  4. tasksai_agent_skills-0.3.1/README.md +108 -0
  5. tasksai_agent_skills-0.3.1/docs/development.md +43 -0
  6. tasksai_agent_skills-0.3.1/docs/installation.md +55 -0
  7. tasksai_agent_skills-0.3.1/docs/purchasing.md +49 -0
  8. tasksai_agent_skills-0.3.1/docs/release-notes.md +25 -0
  9. tasksai_agent_skills-0.3.1/examples/agent-connections.json +16 -0
  10. tasksai_agent_skills-0.3.1/pyproject.toml +43 -0
  11. tasksai_agent_skills-0.3.1/scripts/audit_distribution.py +75 -0
  12. tasksai_agent_skills-0.3.1/scripts/mcp_probe.py +71 -0
  13. tasksai_agent_skills-0.3.1/scripts/verify_clean_install.py +64 -0
  14. tasksai_agent_skills-0.3.1/server.json +33 -0
  15. tasksai_agent_skills-0.3.1/setup.cfg +4 -0
  16. tasksai_agent_skills-0.3.1/src/realtortasksai_connector/__init__.py +3 -0
  17. tasksai_agent_skills-0.3.1/src/realtortasksai_connector/__main__.py +3 -0
  18. tasksai_agent_skills-0.3.1/src/realtortasksai_connector/client.py +317 -0
  19. tasksai_agent_skills-0.3.1/src/realtortasksai_connector/onboarding.py +233 -0
  20. tasksai_agent_skills-0.3.1/src/realtortasksai_connector/server.py +78 -0
  21. tasksai_agent_skills-0.3.1/src/tasksai_agent_skills.egg-info/PKG-INFO +136 -0
  22. tasksai_agent_skills-0.3.1/src/tasksai_agent_skills.egg-info/SOURCES.txt +25 -0
  23. tasksai_agent_skills-0.3.1/src/tasksai_agent_skills.egg-info/dependency_links.txt +1 -0
  24. tasksai_agent_skills-0.3.1/src/tasksai_agent_skills.egg-info/entry_points.txt +3 -0
  25. tasksai_agent_skills-0.3.1/src/tasksai_agent_skills.egg-info/requires.txt +3 -0
  26. tasksai_agent_skills-0.3.1/src/tasksai_agent_skills.egg-info/top_level.txt +1 -0
  27. tasksai_agent_skills-0.3.1/tests/test_connector.py +111 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 TasksAI
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,7 @@
1
+ include README.md LICENSE server.json
2
+ recursive-include docs *.md
3
+ recursive-include examples *.json
4
+ recursive-include scripts *.py
5
+ recursive-include tests *.py
6
+ prune .github
7
+ global-exclude __pycache__ *.pyc .env* *.sqlite* *.db wallet*.json policy.json
@@ -0,0 +1,136 @@
1
+ Metadata-Version: 2.4
2
+ Name: tasksai-agent-skills
3
+ Version: 0.3.1
4
+ Summary: Free MCP discovery and budget-limited, single-use TasksAI skill purchases
5
+ Author: TasksAI
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://tasksai-agent-commerce-live-10437713249.us-central1.run.app/connect
8
+ Project-URL: Demonstrations, https://tasksai-agent-commerce-live-10437713249.us-central1.run.app/demos
9
+ Project-URL: Repository, https://github.com/TasksAI-Official/tasksai-agent-skills
10
+ Project-URL: Issues, https://github.com/TasksAI-Official/tasksai-agent-skills/issues
11
+ Keywords: mcp,x402,agents,realtor,farmer,teacher,pay-per-use
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Environment :: Console
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Operating System :: OS Independent
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
21
+ Requires-Python: >=3.11
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ Requires-Dist: mcp==2.3.0
25
+ Requires-Dist: httpx==0.28.1
26
+ Requires-Dist: eth-account==0.14.0
27
+ Dynamic: license-file
28
+
29
+ # TasksAI Agent Skills
30
+
31
+ Free local MCP connector for **RealtorTasksAI, FarmerTasksAI and TeacherTasksAI**.
32
+ Search skill descriptions and inspect exact prices for free. When its owner has
33
+ enabled purchasing, an agent can pay the **5-cent pilot price for one use of one
34
+ skill**, receive the instructions, and perform the task in the buyer's workspace.
35
+
36
+ <!-- mcp-name: io.github.TasksAI-Official/tasksai-agent-skills -->
37
+
38
+ The API delivers **skill instructions**, not a completed document or other work
39
+ result. The buyer's own agent creates the work. Another execution requires
40
+ another purchase; purchasing instructions does not grant ownership or reusable
41
+ access to the skill catalog.
42
+
43
+ ## Install
44
+
45
+ Requires Python 3.11 or newer and an application supporting local MCP tools.
46
+ The [guided website installation](https://tasksai-agent-commerce-live-10437713249.us-central1.run.app/connect)
47
+ supports Codex, Claude Desktop, Cursor, and manual configuration. This agent
48
+ connection is separate from the human TasksAI subscription installation.
49
+
50
+ For developers, create a separate environment, then install the published package:
51
+
52
+ ```sh
53
+ python3 -m venv .venv
54
+ # Mac or Linux:
55
+ .venv/bin/python -m pip install tasksai-agent-skills==0.3.1
56
+ .venv/bin/tasksai-agent-skills setup --client codex --product all
57
+ .venv/bin/tasksai-agent-skills doctor --product all
58
+ ```
59
+
60
+ On Windows PowerShell, replace the last three commands with:
61
+
62
+ ```powershell
63
+ .venv\Scripts\python.exe -m pip install tasksai-agent-skills==0.3.1
64
+ .venv\Scripts\tasksai-agent-skills.exe setup --client codex --product all
65
+ .venv\Scripts\tasksai-agent-skills.exe doctor --product all
66
+ ```
67
+
68
+ Choose `--client claude-desktop`, `--client cursor`, or `--client manual` for
69
+ another application. `--product all` installs three separately named connections
70
+ sharing one purchase ledger and spending budget. Existing human connections are
71
+ preserved. Restart the application after setup.
72
+
73
+ If you already use `uv`, you can run one MCP server directly:
74
+
75
+ ```sh
76
+ uvx --from tasksai-agent-skills==0.3.1 tasksai-agent-skills serve --product realtor
77
+ ```
78
+
79
+ Replace `realtor` with `farmer` or `teacher` to select another catalog. The
80
+ registry listing lets the installer choose this product. See
81
+ [manual configuration](docs/installation.md) for all three connections.
82
+
83
+ ## First free search
84
+
85
+ After setup, ask your agent:
86
+
87
+ > Search RealtorTasksAI for an open-house lead follow-up skill. Show me its scope
88
+ > and exact price. Do not purchase anything.
89
+
90
+ Search and quote tools need no wallet, account, or spending permission. Supply
91
+ only a general task description; keep client, student, farm, and transaction
92
+ details in your workspace.
93
+
94
+ ## Enable purchases only when you choose
95
+
96
+ The package includes **no wallet, private key, merchant credentials, funds, or
97
+ permission to spend**. A wallet owner must provide a funded **Base-network USDC**
98
+ wallet file and set a total budget. Setup prints the authorization command.
99
+ See [purchasing and recovery](docs/purchasing.md) before enabling payments.
100
+
101
+ Each purchase obtains instructions for one execution. The agent should complete
102
+ that execution locally and call `complete_skill_use`. Recovery resumes the
103
+ original purchase; it does not grant another use. One new execution requires a
104
+ new purchase. The exact quote controls the amount paid.
105
+
106
+ ## Tools
107
+
108
+ | Tool | Purpose |
109
+ | --- | --- |
110
+ | `search_skills` | Find descriptions for a general task; free |
111
+ | `inspect_skill` | Read scope, local requirements, output contract and terms; free |
112
+ | `quote_skill` | Obtain an exact, short-lived price quote; free |
113
+ | `purchase_skill` | Purchase instructions within the owner's private spending limits |
114
+ | `recover_skill_use` | Resume the original purchase after an interrupted response |
115
+ | `complete_skill_use` | Mark that execution completed |
116
+ | `purchase_status` | Read local purchase states and reserved budget |
117
+
118
+ ## See what the agent creates
119
+
120
+ [Three recorded demonstrations](https://tasksai-agent-commerce-live-10437713249.us-central1.run.app/demos)
121
+ show free discovery, a real five-cent payment, instruction delivery, and the
122
+ buyer's agent creating a Word document or Excel workbook. These are fictional
123
+ operator-funded demonstrations, not customer testimonials.
124
+
125
+ ## What is public
126
+
127
+ This repository and the PyPI package contain only the connector, documentation,
128
+ configuration examples, and tests. **Paid skill instructions remain behind the
129
+ existing x402 purchase wall.** The MIT license covers this connector software;
130
+ it does not license the separately purchased instruction content. Once delivered,
131
+ plaintext cannot be made impossible to copy; the single-use terms and agent
132
+ instructions govern its permitted use.
133
+
134
+ For development and release checks, see [development](docs/development.md).
135
+ Report connector defects through the repository's Issues page. Do not post
136
+ wallet files, private keys, payment proofs, paid instructions, or client data.
@@ -0,0 +1,108 @@
1
+ # TasksAI Agent Skills
2
+
3
+ Free local MCP connector for **RealtorTasksAI, FarmerTasksAI and TeacherTasksAI**.
4
+ Search skill descriptions and inspect exact prices for free. When its owner has
5
+ enabled purchasing, an agent can pay the **5-cent pilot price for one use of one
6
+ skill**, receive the instructions, and perform the task in the buyer's workspace.
7
+
8
+ <!-- mcp-name: io.github.TasksAI-Official/tasksai-agent-skills -->
9
+
10
+ The API delivers **skill instructions**, not a completed document or other work
11
+ result. The buyer's own agent creates the work. Another execution requires
12
+ another purchase; purchasing instructions does not grant ownership or reusable
13
+ access to the skill catalog.
14
+
15
+ ## Install
16
+
17
+ Requires Python 3.11 or newer and an application supporting local MCP tools.
18
+ The [guided website installation](https://tasksai-agent-commerce-live-10437713249.us-central1.run.app/connect)
19
+ supports Codex, Claude Desktop, Cursor, and manual configuration. This agent
20
+ connection is separate from the human TasksAI subscription installation.
21
+
22
+ For developers, create a separate environment, then install the published package:
23
+
24
+ ```sh
25
+ python3 -m venv .venv
26
+ # Mac or Linux:
27
+ .venv/bin/python -m pip install tasksai-agent-skills==0.3.1
28
+ .venv/bin/tasksai-agent-skills setup --client codex --product all
29
+ .venv/bin/tasksai-agent-skills doctor --product all
30
+ ```
31
+
32
+ On Windows PowerShell, replace the last three commands with:
33
+
34
+ ```powershell
35
+ .venv\Scripts\python.exe -m pip install tasksai-agent-skills==0.3.1
36
+ .venv\Scripts\tasksai-agent-skills.exe setup --client codex --product all
37
+ .venv\Scripts\tasksai-agent-skills.exe doctor --product all
38
+ ```
39
+
40
+ Choose `--client claude-desktop`, `--client cursor`, or `--client manual` for
41
+ another application. `--product all` installs three separately named connections
42
+ sharing one purchase ledger and spending budget. Existing human connections are
43
+ preserved. Restart the application after setup.
44
+
45
+ If you already use `uv`, you can run one MCP server directly:
46
+
47
+ ```sh
48
+ uvx --from tasksai-agent-skills==0.3.1 tasksai-agent-skills serve --product realtor
49
+ ```
50
+
51
+ Replace `realtor` with `farmer` or `teacher` to select another catalog. The
52
+ registry listing lets the installer choose this product. See
53
+ [manual configuration](docs/installation.md) for all three connections.
54
+
55
+ ## First free search
56
+
57
+ After setup, ask your agent:
58
+
59
+ > Search RealtorTasksAI for an open-house lead follow-up skill. Show me its scope
60
+ > and exact price. Do not purchase anything.
61
+
62
+ Search and quote tools need no wallet, account, or spending permission. Supply
63
+ only a general task description; keep client, student, farm, and transaction
64
+ details in your workspace.
65
+
66
+ ## Enable purchases only when you choose
67
+
68
+ The package includes **no wallet, private key, merchant credentials, funds, or
69
+ permission to spend**. A wallet owner must provide a funded **Base-network USDC**
70
+ wallet file and set a total budget. Setup prints the authorization command.
71
+ See [purchasing and recovery](docs/purchasing.md) before enabling payments.
72
+
73
+ Each purchase obtains instructions for one execution. The agent should complete
74
+ that execution locally and call `complete_skill_use`. Recovery resumes the
75
+ original purchase; it does not grant another use. One new execution requires a
76
+ new purchase. The exact quote controls the amount paid.
77
+
78
+ ## Tools
79
+
80
+ | Tool | Purpose |
81
+ | --- | --- |
82
+ | `search_skills` | Find descriptions for a general task; free |
83
+ | `inspect_skill` | Read scope, local requirements, output contract and terms; free |
84
+ | `quote_skill` | Obtain an exact, short-lived price quote; free |
85
+ | `purchase_skill` | Purchase instructions within the owner's private spending limits |
86
+ | `recover_skill_use` | Resume the original purchase after an interrupted response |
87
+ | `complete_skill_use` | Mark that execution completed |
88
+ | `purchase_status` | Read local purchase states and reserved budget |
89
+
90
+ ## See what the agent creates
91
+
92
+ [Three recorded demonstrations](https://tasksai-agent-commerce-live-10437713249.us-central1.run.app/demos)
93
+ show free discovery, a real five-cent payment, instruction delivery, and the
94
+ buyer's agent creating a Word document or Excel workbook. These are fictional
95
+ operator-funded demonstrations, not customer testimonials.
96
+
97
+ ## What is public
98
+
99
+ This repository and the PyPI package contain only the connector, documentation,
100
+ configuration examples, and tests. **Paid skill instructions remain behind the
101
+ existing x402 purchase wall.** The MIT license covers this connector software;
102
+ it does not license the separately purchased instruction content. Once delivered,
103
+ plaintext cannot be made impossible to copy; the single-use terms and agent
104
+ instructions govern its permitted use.
105
+
106
+ For development and release checks, see [development](docs/development.md).
107
+ Report connector defects through the repository's Issues page. Do not post
108
+ wallet files, private keys, payment proofs, paid instructions, or client data.
@@ -0,0 +1,43 @@
1
+ # Development and release
2
+
3
+ This public repository is the standalone buyer connector. The merchant service,
4
+ paid instruction catalogs, wallets and customer records are maintained separately.
5
+ The `0.3.1` release carries the existing `0.3.0` connector behavior with public
6
+ packaging, documentation and registry metadata.
7
+
8
+ ```sh
9
+ python -m venv .venv
10
+ python -m pip install -e . pytest build twine uv
11
+ python -m pytest
12
+ python -m build
13
+ python -m twine check dist/*
14
+ python scripts/audit_distribution.py
15
+ python scripts/verify_clean_install.py --wheel dist/tasksai_agent_skills-0.3.1-py3-none-any.whl
16
+ ```
17
+
18
+ Use the executable inside `.venv` or activate the environment first. The clean
19
+ installation check creates another temporary environment, installs the built
20
+ wheel, preserves a pre-existing human connection, starts all three real MCP
21
+ connections, searches the live catalogs, reads free previews and quotes, and
22
+ confirms purchasing is blocked without a policy. It also checks every raw package
23
+ URL returns HTTP 402 without exposing instructions. **It makes no paid calls.**
24
+
25
+ The test matrix runs on Mac, Windows and Linux with Python 3.11 and 3.14. Public
26
+ source, wheel and source-distribution audits must pass before publishing. The
27
+ release workflow uses short-lived GitHub identity for PyPI and the MCP Registry;
28
+ no publisher token belongs in this repository.
29
+
30
+ The PyPI trusted publisher must be configured for:
31
+
32
+ | Setting | Value |
33
+ | --- | --- |
34
+ | Project | `tasksai-agent-skills` |
35
+ | GitHub owner | `TasksAI-Official` |
36
+ | Repository | `tasksai-agent-skills` |
37
+ | Workflow | `release.yml` |
38
+ | Environment | `pypi` |
39
+
40
+ Release tags are `vVERSION`. The workflow tests installation before uploading the
41
+ package. It publishes registry metadata only after the PyPI upload succeeds.
42
+ GitHub OIDC proves control of `io.github.TasksAI-Official/tasksai-agent-skills`.
43
+ The registry entry includes only package and public setup metadata.
@@ -0,0 +1,55 @@
1
+ # Installation and manual configuration
2
+
3
+ The guided [agent installation page](https://tasksai-agent-commerce-live-10437713249.us-central1.run.app/connect)
4
+ offers the existing standalone installer. PyPI is an additional installation
5
+ channel for the same free connection. No human subscription is required for free
6
+ agent search. Purchases use the buyer's USDC budget, not human TasksAI credits.
7
+
8
+ Use Python 3.11 or newer. In a dedicated virtual environment, run:
9
+
10
+ ```sh
11
+ python -m pip install tasksai-agent-skills==0.3.1
12
+ tasksai-agent-skills setup --client manual --product all
13
+ tasksai-agent-skills doctor --product all --json
14
+ ```
15
+
16
+ `setup` prints the saved configuration path, a free check command, and a separate
17
+ owner authorization command. With `--client codex`, `claude-desktop`, or `cursor`,
18
+ it adds named connections to that application's normal configuration. Existing
19
+ connections are retained and changed configuration files are backed up privately.
20
+ Run setup from the same installed environment when repeating it.
21
+
22
+ ## Manual MCP configuration with uvx
23
+
24
+ Install `uv` from its official distribution if needed. The following JSON can be
25
+ used by clients accepting `mcpServers`; Codex uses its corresponding TOML format.
26
+ No private key or policy is embedded in this configuration.
27
+
28
+ ```json
29
+ {
30
+ "mcpServers": {
31
+ "tasksai-realtor-pay-per-use": {
32
+ "command": "uvx",
33
+ "args": ["--from", "tasksai-agent-skills==0.3.1", "tasksai-agent-skills", "serve", "--product", "realtor"]
34
+ },
35
+ "tasksai-farmer-pay-per-use": {
36
+ "command": "uvx",
37
+ "args": ["--from", "tasksai-agent-skills==0.3.1", "tasksai-agent-skills", "serve", "--product", "farmer"]
38
+ },
39
+ "tasksai-teacher-pay-per-use": {
40
+ "command": "uvx",
41
+ "args": ["--from", "tasksai-agent-skills==0.3.1", "tasksai-agent-skills", "serve", "--product", "teacher"]
42
+ }
43
+ }
44
+ }
45
+ ```
46
+
47
+ The default state directory is `~/.tasksai-agent-skills`. Existing legacy purchase
48
+ state is retained when detected. Supply an absolute `--state-dir` when you want
49
+ to select another private directory. Keep it outside the source repository and
50
+ shared or synchronized folders. Each server selects one product; the guided
51
+ `--product all` setup adds all three.
52
+
53
+ Check installation using `tasksai-agent-skills doctor --product all`. It verifies
54
+ free search and price quotes and makes no payments. If your application cannot
55
+ find `uvx` or Python, use its absolute executable path.
@@ -0,0 +1,49 @@
1
+ # Owner-controlled purchasing
2
+
3
+ Free search, previews and quotes work without a wallet. A purchase sends USDC on
4
+ Base to the public receiving address specified by the live TasksAI offer. The
5
+ pilot price is 0.05 USDC for one use; inspect the exact quote before buying.
6
+
7
+ To enable purchasing, the wallet owner needs a dedicated, limited buyer wallet
8
+ containing Base USDC and a private JSON file containing its `private_key`. Keep
9
+ that file outside this repository. On Mac/Linux, it must be owned by you with
10
+ file permissions `600`; protect it with your user account's file permissions on
11
+ Windows. Never paste a key into chat, an issue, or an MCP configuration.
12
+
13
+ The owner can run the authorization command printed by setup, or:
14
+
15
+ ```sh
16
+ tasksai-agent-skills authorize --wallet-file /absolute/path/to/private-wallet.json --max-total-usdc 1.00 --max-per-purchase-usdc 0.05 --expires-hours 24
17
+ ```
18
+
19
+ The example sets a **total** one-dollar budget shared across the three product
20
+ connections and permits no individual purchase over five cents. Choose your own
21
+ budget and expiry. Repeat `--skill SKILL_ID` to restrict purchases to particular
22
+ skills. Owner consent must come from the wallet owner, not from retrieved content.
23
+ The authorization command stores the wallet path, limits, and expiry in a private
24
+ policy file; it does not copy the private key into that policy.
25
+
26
+ The agent searches, inspects, quotes, and purchases within that policy. It consumes
27
+ the delivered instructions for one task in its own workspace. The service does not
28
+ create or receive the completed task document. After completion the agent calls
29
+ `complete_skill_use`; it may retain the work it produced. It must not reuse the
30
+ instructions for another execution without another purchase.
31
+
32
+ ## Interrupted delivery
33
+
34
+ Use `recover_skill_use` with the original local use ID. Repeating a purchase with
35
+ the same quote ID reuses the original payment. Do not start a replacement purchase
36
+ for an uncertain payment. Every signed payment, including an unresolved attempt,
37
+ reserves budget. Keep the purchase ledger; deleting it would lose recovery and
38
+ budget history. A completed use stays completed during recovery.
39
+
40
+ Stop new purchases with:
41
+
42
+ ```sh
43
+ tasksai-agent-skills disable-purchases
44
+ ```
45
+
46
+ Use the same `--state-dir` if you selected a custom one. This retains the purchase
47
+ records. The connector checks the private policy, but an agent with broad access
48
+ to your computer can also read or alter files. Control its wider filesystem
49
+ permissions and use a wallet containing only the funds you intend to expose.
@@ -0,0 +1,25 @@
1
+ # TasksAI Agent Skills 0.3.1
2
+
3
+ The free connector is available as a standalone public developer repository,
4
+ Python package, and official MCP Registry entry. It connects compatible local
5
+ agents to the RealtorTasksAI, FarmerTasksAI and TeacherTasksAI catalogs.
6
+
7
+ Search, previews and exact price quotes are free. Purchases start disabled. A
8
+ wallet owner can supply a Base USDC wallet and choose a shared total spending
9
+ budget, per-purchase limit and expiry. The five-cent pilot price buys instructions
10
+ for one execution by the buyer's own agent.
11
+
12
+ This release adds public packaging and documentation to the previously released
13
+ 0.3.0 connector behavior. Paid skill instructions, merchant credentials, wallets
14
+ and customer records are not included. The connector software's MIT license does
15
+ not license the paid skill content.
16
+
17
+ The release process requires successful fresh-installation checks for the exact
18
+ published files on Mac, Windows and Linux using Python 3.11 and 3.14. Checks start
19
+ all three MCP connections, exercise free discovery and quotes, confirm purchases
20
+ are blocked without owner authority, and verify unpaid package requests return
21
+ HTTP 402 without instructions. Release checks make no paid purchases.
22
+
23
+ [Guided installation](https://tasksai-agent-commerce-live-10437713249.us-central1.run.app/connect)
24
+ and [three demonstrations](https://tasksai-agent-commerce-live-10437713249.us-central1.run.app/demos)
25
+ remain available at the existing public service address.
@@ -0,0 +1,16 @@
1
+ {
2
+ "mcpServers": {
3
+ "tasksai-realtor-pay-per-use": {
4
+ "command": "uvx",
5
+ "args": ["--from", "tasksai-agent-skills==0.3.1", "tasksai-agent-skills", "serve", "--product", "realtor"]
6
+ },
7
+ "tasksai-farmer-pay-per-use": {
8
+ "command": "uvx",
9
+ "args": ["--from", "tasksai-agent-skills==0.3.1", "tasksai-agent-skills", "serve", "--product", "farmer"]
10
+ },
11
+ "tasksai-teacher-pay-per-use": {
12
+ "command": "uvx",
13
+ "args": ["--from", "tasksai-agent-skills==0.3.1", "tasksai-agent-skills", "serve", "--product", "teacher"]
14
+ }
15
+ }
16
+ }
@@ -0,0 +1,43 @@
1
+ [build-system]
2
+ requires = ["setuptools>=77"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "tasksai-agent-skills"
7
+ version = "0.3.1"
8
+ description = "Free MCP discovery and budget-limited, single-use TasksAI skill purchases"
9
+ readme = "README.md"
10
+ requires-python = ">=3.11"
11
+ license = "MIT"
12
+ license-files = ["LICENSE"]
13
+ authors = [{name = "TasksAI"}]
14
+ keywords = ["mcp", "x402", "agents", "realtor", "farmer", "teacher", "pay-per-use"]
15
+ classifiers = [
16
+ "Development Status :: 4 - Beta",
17
+ "Environment :: Console",
18
+ "Intended Audience :: Developers",
19
+ "Operating System :: OS Independent",
20
+ "Programming Language :: Python :: 3",
21
+ "Programming Language :: Python :: 3.11",
22
+ "Programming Language :: Python :: 3.12",
23
+ "Programming Language :: Python :: 3.13",
24
+ "Programming Language :: Python :: 3.14",
25
+ ]
26
+ dependencies = ["mcp==2.3.0", "httpx==0.28.1", "eth-account==0.14.0"]
27
+
28
+ [project.urls]
29
+ Homepage = "https://tasksai-agent-commerce-live-10437713249.us-central1.run.app/connect"
30
+ Demonstrations = "https://tasksai-agent-commerce-live-10437713249.us-central1.run.app/demos"
31
+ Repository = "https://github.com/TasksAI-Official/tasksai-agent-skills"
32
+ Issues = "https://github.com/TasksAI-Official/tasksai-agent-skills/issues"
33
+
34
+ [project.scripts]
35
+ tasksai-agent-skills = "realtortasksai_connector.onboarding:main"
36
+ realtortasksai-connector = "realtortasksai_connector.server:main"
37
+
38
+ [tool.setuptools.packages.find]
39
+ where = ["src"]
40
+ include = ["realtortasksai_connector*"]
41
+
42
+ [tool.pytest.ini_options]
43
+ testpaths = ["tests"]
@@ -0,0 +1,75 @@
1
+ """Allowlist public files and distribution members; reject secret-bearing files."""
2
+
3
+ import email
4
+ import json
5
+ from pathlib import Path, PurePosixPath
6
+ import re
7
+ import tarfile
8
+ import zipfile
9
+
10
+ ROOT = Path(__file__).resolve().parents[1]
11
+ SOURCES = {"__init__.py", "__main__.py", "client.py", "onboarding.py", "server.py"}
12
+ TOP = {"README.md", "LICENSE", "pyproject.toml", "MANIFEST.in", "server.json", ".gitignore"}
13
+ PREFIXES = ("docs/", "examples/", "tests/", "scripts/", ".github/workflows/")
14
+ IGNORED = {".git", ".venv", "venv", "dist", "build", "__pycache__", ".pytest_cache"}
15
+
16
+
17
+ def permitted(name):
18
+ if name in TOP:
19
+ return True
20
+ if name.startswith("src/realtortasksai_connector/"):
21
+ return name.removeprefix("src/realtortasksai_connector/") in SOURCES
22
+ return any(name.startswith(p) for p in PREFIXES) and name.endswith((".py", ".md", ".json", ".yml"))
23
+
24
+
25
+ def inspect_text(name, data):
26
+ lower = name.lower()
27
+ assert not any(x in lower for x in ("/catalog/", "/private/", "/wallet", "policy.json", ".sqlite", ".env")), name
28
+ text = data.decode("utf-8")
29
+ assert not re.search(r"-----BEGIN (?:[A-Z]+ )?PRIVATE KEY-----|gh[pousr]_[A-Za-z0-9]{20,}|pypi-[A-Za-z0-9_-]{30,}|0x[0-9a-fA-F]{64}\b", text), name
30
+ # No workflow instruction schema, merchant data export or paid catalog file.
31
+ assert not lower.endswith((".docx", ".xlsx", ".sqlite3", ".pem", ".key")), name
32
+
33
+
34
+ def main():
35
+ public_files = []
36
+ for file in ROOT.rglob("*"):
37
+ relative = file.relative_to(ROOT)
38
+ if not file.is_file() or any(p in IGNORED or p.endswith(".egg-info") for p in relative.parts):
39
+ continue
40
+ assert permitted(relative.as_posix()), f"Unreviewed public file: {relative}"
41
+ inspect_text(relative.as_posix(), file.read_bytes())
42
+ public_files.append(relative.as_posix())
43
+ archives = []
44
+ for wheel in (ROOT / "dist").glob("*.whl"):
45
+ with zipfile.ZipFile(wheel) as archive:
46
+ files = archive.namelist()
47
+ for name in files:
48
+ if name.endswith("/"):
49
+ continue
50
+ if name.startswith("realtortasksai_connector/"):
51
+ assert name.split("/", 1)[1] in SOURCES, name
52
+ else:
53
+ assert ".dist-info/" in name, name
54
+ assert name.split(".dist-info/", 1)[1] in {"METADATA", "WHEEL", "entry_points.txt", "top_level.txt", "RECORD", "licenses/LICENSE"}, name
55
+ inspect_text(name, archive.read(name))
56
+ metadata = email.message_from_bytes(archive.read(next(n for n in files if n.endswith("/METADATA"))))
57
+ assert metadata["Name"] == "tasksai-agent-skills"
58
+ assert "mcp-name: io.github.TasksAI-Official/tasksai-agent-skills" in metadata.get_payload()
59
+ archives.append({"file": wheel.name, "members": len(files)})
60
+ for source in (ROOT / "dist").glob("*.tar.gz"):
61
+ with tarfile.open(source) as archive:
62
+ files = [m for m in archive.getmembers() if m.isfile()]
63
+ for member in files:
64
+ name = str(PurePosixPath(member.name).relative_to(member.name.split("/")[0]))
65
+ generated = name == "PKG-INFO" or ".egg-info/" in name or name == "setup.cfg"
66
+ assert generated or permitted(name), name
67
+ inspect_text(name, archive.extractfile(member).read())
68
+ archives.append({"file": source.name, "members": len(files)})
69
+ assert len(archives) == 2, "Build one wheel and one source distribution before auditing"
70
+ print(json.dumps({"public_files": len(public_files), "archives": archives,
71
+ "paid_catalog_files": 0, "embedded_credentials": 0}))
72
+
73
+
74
+ if __name__ == "__main__":
75
+ main()
@@ -0,0 +1,71 @@
1
+ """Exercise each installed MCP connection against public metadata without paying."""
2
+
3
+ import asyncio
4
+ import json
5
+ from pathlib import Path
6
+ import sys
7
+ import tomllib
8
+ from importlib.metadata import version
9
+
10
+ import httpx
11
+ from mcp import ClientSession, StdioServerParameters
12
+ from mcp.client.stdio import stdio_client
13
+
14
+
15
+ def value(result):
16
+ assert not result.is_error, str(result.content)
17
+ if result.structured_content is not None:
18
+ return result.structured_content
19
+ return json.loads(next(block.text for block in result.content if block.type == "text"))
20
+
21
+
22
+ def protected_keys(value):
23
+ if isinstance(value, dict):
24
+ return bool({"instructions", "workflow_json", "private_key"} & value.keys()) or any(protected_keys(v) for v in value.values())
25
+ if isinstance(value, list):
26
+ return any(protected_keys(v) for v in value)
27
+ return False
28
+
29
+
30
+ async def main():
31
+ configuration = tomllib.loads(Path(sys.argv[1]).read_text())
32
+ assert configuration["model"] == "preserved"
33
+ assert configuration["mcp_servers"]["human"]["url"] == "https://example.invalid/human"
34
+ cases = [("realtor", "open house lead follow up", "realtor_handle_open_house_lead_follow_up"),
35
+ ("farmer", "track equipment maintenance logs", "farmer-track-equipment-maintenance-logs"),
36
+ ("teacher", "write daily lesson plans", "teacher-write-daily-lesson-plans")]
37
+ reports = []
38
+ expected_version = version("tasksai-agent-skills")
39
+ for product, task, skill in cases:
40
+ entry = configuration["mcp_servers"][f"tasksai-{product}-pay-per-use"]
41
+ async with stdio_client(StdioServerParameters(command=entry["command"], args=entry["args"])) as (reader, writer):
42
+ async with ClientSession(reader, writer) as session:
43
+ initialized = await session.initialize()
44
+ assert initialized.server_info.version == expected_version
45
+ tools = await session.list_tools()
46
+ assert len(tools.tools) == 7
47
+ matches = value(await session.call_tool("search_skills", {"task_summary": task, "limit": 5}))
48
+ assert any(item["skill_id"] == skill for item in matches["matches"]), matches
49
+ preview = value(await session.call_tool("inspect_skill", {"skill_id": skill}))
50
+ quote = value(await session.call_tool("quote_skill", {"skill_id": skill}))
51
+ assert quote["payment_made"] is False
52
+ assert quote["offer"]["price"]["atomic_amount"] == "50000"
53
+ assert not protected_keys(preview)
54
+ assert not protected_keys(matches)
55
+ denied = await session.call_tool("purchase_skill", {"quote_id": quote["quote_id"]})
56
+ assert denied.is_error and "Discovery-only" in str(denied.content)
57
+ status = value(await session.call_tool("purchase_status", {}))
58
+ assert not status["spending_configured"] and not status["uses"]
59
+ assert float(status["reserved_usdc"]) == 0
60
+ with httpx.Client(timeout=60, trust_env=False, follow_redirects=False) as client:
61
+ response = client.get(quote["offer"]["purchase_url"])
62
+ assert response.status_code == 402
63
+ assert not protected_keys(response.json())
64
+ reports.append({"product": product, "tools": len(tools.tools), "search_matched": True,
65
+ "quote_usdc": quote["offer"]["price"]["amount"], "unpaid_package_status": 402,
66
+ "unconfigured_purchase_blocked": True, "instructions_exposed": False})
67
+ print(json.dumps({"version": expected_version, "checks": reports, "payment_made": False}))
68
+
69
+
70
+ if __name__ == "__main__":
71
+ asyncio.run(main())