From 00f3a97e6361b91568632446b8f3e194d2bf47f5 Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Thu, 12 Mar 2026 14:01:17 +0200 Subject: [PATCH 1/3] Permit additional actions --- .claude/settings.json | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.claude/settings.json b/.claude/settings.json index 459b0ab..e61e417 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -11,28 +11,47 @@ "Bash(claude plugin marketplace --help:*)", "Bash(claude plugin marketplace list)", "Bash(claude plugin validate --help:*)", + "Bash(dot:*)", "Bash(dpkg -l:*)", "Bash(echo:*)", "Bash(env)", "Bash(git log:*)", + "Bash(git ls-remote:*)", + "Bash(git show-branch:*)", "Bash(grep:*)", "Bash(head:*)", "Bash(ls:*)", + "Bash(pip index:*)", + "Bash(pip show:*)", + "Bash(pre-commit run:*)", "Bash(pylsp:*)", + "Bash(tach:*)", + "Bash(tlc:*)", "Bash(tree:*)", "Bash(uv run mypy:*)", "Bash(uv run tach:*)", "Bash(uv tool list:*)", "Bash(wc:*)", "Bash(xargs cat:*)", + "WebFetch(domain:blogs.oracle.com)", + "WebFetch(domain:btrfs.readthedocs.io)", "WebFetch(domain:datatracker.ietf.org)", + "WebFetch(domain:dl.acm.org)", + "WebFetch(domain:docs.astral.sh)", "WebFetch(domain:docs.cloud.google.com)", "WebFetch(domain:docs.gauge.sh)", "WebFetch(domain:docs.temporal.io)", + "WebFetch(domain:fstar-lang.org)", + "WebFetch(domain:fuse-devel.narkive.com)", "WebFetch(domain:libfuse.github.io)", "WebFetch(domain:lwn.net)", "WebFetch(domain:man7.org)", - "WebFetch(domain:www.phoronix.com)" + "WebFetch(domain:patchwork.kernel.org)", + "WebFetch(domain:www.kernel.org)", + "WebFetch(domain:www.mail-archive.com)", + "WebFetch(domain:www.man7.org)", + "WebFetch(domain:www.phoronix.com)", + "WebFetch(domain:www.rfc-editor.org)" ] }, "enabledPlugins": { From c72c019ee8866b7f6124c611a31b4b929a6eec34 Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Thu, 12 Mar 2026 14:01:33 +0200 Subject: [PATCH 2/3] Increase Claude's context window size --- .claude/settings.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.claude/settings.json b/.claude/settings.json index e61e417..07db07e 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -58,5 +58,6 @@ "gopls-lsp@claude-plugins-official": true }, "skipDangerousModePermissionPrompt": true, - "effortLevel": "high" + "effortLevel": "high", + "model": "opus[1m]" } From 6f333e34f3289ab880bdd4fc5c482a1a4f4fe435 Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Thu, 12 Mar 2026 14:03:36 +0200 Subject: [PATCH 3/3] Create a local plugin for pylsp integration --- .../.claude-plugin/marketplace.json | 30 +++++++++++++++++++ .../plugins/pylsp/.claude-plugin/plugin.json | 7 +++++ .../local-marketplace/plugins/pylsp/README.md | 25 ++++++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 .claude/local-marketplace/.claude-plugin/marketplace.json create mode 100644 .claude/local-marketplace/plugins/pylsp/.claude-plugin/plugin.json create mode 100644 .claude/local-marketplace/plugins/pylsp/README.md diff --git a/.claude/local-marketplace/.claude-plugin/marketplace.json b/.claude/local-marketplace/.claude-plugin/marketplace.json new file mode 100644 index 0000000..b1ae394 --- /dev/null +++ b/.claude/local-marketplace/.claude-plugin/marketplace.json @@ -0,0 +1,30 @@ +{ + "$schema": "https://anthropic.com/claude-code/marketplace.schema.json", + "name": "local-plugins", + "description": "Local plugin configurations", + "owner": { + "name": "Local" + }, + "plugins": [ + { + "name": "pylsp", + "description": "Python Language Server (pylsp) for code intelligence", + "version": "1.0.0", + "author": { + "name": "Local Configuration" + }, + "source": "./plugins/pylsp", + "category": "development", + "lspServers": { + "pylsp": { + "command": "/home/agent/.local/bin/pylsp", + "args": ["--check-parent-process"], + "extensionToLanguage": { + ".py": "python", + ".pyi": "python" + } + } + } + } + ] +} diff --git a/.claude/local-marketplace/plugins/pylsp/.claude-plugin/plugin.json b/.claude/local-marketplace/plugins/pylsp/.claude-plugin/plugin.json new file mode 100644 index 0000000..8ab8028 --- /dev/null +++ b/.claude/local-marketplace/plugins/pylsp/.claude-plugin/plugin.json @@ -0,0 +1,7 @@ +{ + "name": "pylsp", + "description": "Python Language Server (pylsp) for code intelligence", + "author": { + "name": "Local Configuration" + } +} diff --git a/.claude/local-marketplace/plugins/pylsp/README.md b/.claude/local-marketplace/plugins/pylsp/README.md new file mode 100644 index 0000000..79620b8 --- /dev/null +++ b/.claude/local-marketplace/plugins/pylsp/README.md @@ -0,0 +1,25 @@ +# pylsp Plugin for Claude Code + +This plugin configures the Python Language Server (pylsp) for Claude Code. + +## Features + +- Go-to-definition +- Find references +- Hover information +- Code completion +- Diagnostics + +## Configuration + +The LSP server is configured to use `/home/agent/.local/bin/pylsp` with `--check-parent-process` to ensure proper shutdown. + +## Installing Additional pylsp Plugins + +You can enhance pylsp with additional plugins: + +```bash +pip install pylsp-mypy # Type checking +pip install python-lsp-black # Black formatting +pip install python-lsp-ruff # Ruff linting +```